:root {
    --aurora-bg: #03070c;
    --aurora-panel: #0b0f16;
    --aurora-panel-2: #101722;
    --aurora-text: #f5f7fb;
    --aurora-muted: #8b94a5;
    --aurora-line: rgba(255, 255, 255, .13);
    --aurora-line-strong: rgba(255, 255, 255, .22);
    --aurora-blue: #1c6fc0;
    --aurora-blue-bright: #2b8be4;
    --aurora-green: #3fcf8e;
    --aurora-red: #f2606d;
    --aurora-spring: cubic-bezier(.32, .72, 0, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background: var(--aurora-bg);
}

body.aurora-page {
    min-height: 100svh;
    margin: 0;
    background: var(--aurora-bg);
    color: var(--aurora-text);
    font-family: Satoshi, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.aurora-page--landing {
    height: 100svh;
    overflow: hidden;
}

.aurora-page button,
.aurora-page input,
.aurora-page select {
    font: inherit;
}

.aurora-page a {
    color: inherit;
    text-decoration: none;
}

/* Reguła autorska z `display` bije regułę przeglądarki dla [hidden]. Bez tego
   każdy element z własnym display ignoruje ustawienie hidden z JS. */
.aurora-page [hidden] {
    display: none !important;
}

.aurora-shader {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Jedno źródło światła w prawym górnym rogu, ciemny granat schodzący
       w czerń. Statyczne - nic się nie animuje w tle. */
    background:
        radial-gradient(78% 62% at 96% -6%, rgba(24, 74, 130, .55), rgba(13, 40, 72, .22) 42%, transparent 70%),
        radial-gradient(46% 38% at 84% 4%, rgba(31, 96, 165, .34), transparent 66%),
        var(--aurora-bg);
}

.aurora-shader::before,
.aurora-shader::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
}

.aurora-shader::before {
    background: linear-gradient(190deg, transparent 22%, rgba(3, 7, 12, .5) 62%, var(--aurora-bg) 92%);
}

.aurora-shader::after {
    opacity: .12;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(72% 58% at 96% 0%, #000, transparent 76%);
    -webkit-mask-image: radial-gradient(72% 58% at 96% 0%, #000, transparent 76%);
}

.aurora-nav {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 100;
    width: min(calc(100% - 48px), 1160px);
    transform: translateX(-50%);
    pointer-events: none;
}

.aurora-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    gap: clamp(56px, 12vw, 180px);
}

.aurora-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 6px 18px 6px 8px;
    border: 1px solid var(--aurora-line);
    border-radius: 999px;
    background: #0a0a0e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 12px 32px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: -.035em;
    pointer-events: auto;
}

.aurora-brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: #05070b;
}

.aurora-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.24);
}

.aurora-brand b {
    color: #fff;
}

.aurora-nav__actions {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    margin-left: auto;
    padding: 5px;
    border: 1px solid var(--aurora-line);
    border-radius: 999px;
    background: #0a0a0e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 12px 32px rgba(0, 0, 0, .2);
    pointer-events: auto;
}

.aurora-nav .avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #25252b;
    border-radius: 50%;
    background: #101116;
    color: #aab2c0;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, transform .2s var(--aurora-spring);
}

.aurora-nav .avatar:hover {
    border-color: rgba(83, 162, 235, .62);
    color: #fff;
    transform: translateY(-1px);
}

.aurora-nav .avatar:active {
    transform: scale(.94);
}

.aurora-nav .avatar svg {
    width: 17px;
    height: 17px;
}

.aurora-nav .avatar i {
    font-size: 16px;
    line-height: 1;
}

.aurora-nav .avatar img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.aurora-page .authmenu {
    position: absolute;
    top: 51px;
    right: 0;
    display: grid;
    width: min(264px, calc(100vw - 24px));
    gap: 3px;
    padding: 7px;
    border: 1px solid var(--aurora-line);
    border-radius: 14px;
    background: #090d13;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

.aurora-page .authmenu[hidden] {
    display: none;
}

.aurora-page .authmenu__who {
    overflow: hidden;
    padding: 9px 10px 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #788597;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aurora-page .authmenu a {
    min-height: 39px;
    padding: 10px;
    border-radius: 8px;
    color: #dbe4ee;
    font-size: 12px;
    font-weight: 700;
}

.aurora-page .authmenu a:hover {
    background: rgba(28, 111, 192, .11);
}

.aurora-page .authmenu a.authmenu__out {
    color: #ee8d97;
}

.aurora-page .login-note {
    position: fixed;
    top: 78px;
    left: 50%;
    z-index: 120;
    width: min(520px, calc(100% - 28px));
    padding: 11px 14px;
    transform: translateX(-50%);
    border: 1px solid var(--aurora-line);
    border-radius: 9px;
    background: #0b1017;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.aurora-page .login-note[hidden] {
    display: none;
}

.aurora-hero {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100svh;
    padding: 24px;
}

.aurora-hero__grid {
    display: grid;
    width: 100%;
    max-width: 1160px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: center;
    gap: 40px;
}

.aurora-hero__content {
    display: grid;
    justify-items: start;
    gap: 26px;
    text-align: left;
}

.aurora-hero__headline {
    max-width: 600px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.9vw, 52px);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
    text-wrap: balance;
    text-shadow: 0 12px 44px rgba(0, 0, 0, .46);
}

.aurora-hero__actions {
    display: flex;
    width: 100%;
    max-width: 460px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.aurora-hero__row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

/* Bez tego dwie kolumny hero zjeżdżają w jedna linie na waskich viewportach
   przed startem media query - grid potrzebuje jawnego minmax(0, ...). */
.aurora-hero__devices {
    position: relative;
    height: 420px;
}

.device {
    position: absolute;
    filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .55));
}

.device__frame {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.device__screen {
    position: absolute;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(165deg, #10161f, #060a10);
}

.device--mdt {
    top: 50%;
    right: 0;
    z-index: 1;
    width: 380px;
    aspect-ratio: 2400 / 1600;
    transform: translateY(-50%) rotate(3deg);
}

.device--mdt .device__screen {
    inset: 11% 8.04% 11.3% 7.96%;
    border-radius: 3px;
}

.device--phone {
    bottom: 2%;
    left: -4%;
    z-index: 2;
    width: 128px;
    aspect-ratio: 2000 / 4100;
    transform: rotate(-9deg);
}

.device--phone .device__screen {
    inset: 3.85% 6.65% 5% 6.5%;
    border-radius: 26px;
}

.device__tag {
    position: absolute;
    top: -13px;
    left: 14px;
    z-index: 3;
    border: 1px solid var(--aurora-line);
    border-radius: 5px;
    padding: 3px 8px;
    background: #05090e;
    color: #8995a6;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.mdtshot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10%;
    padding: 8% 7%;
    font-variant-numeric: tabular-nums;
}

.mdtshot__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mdtshot__unit {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.mdtshot__status {
    border: 1px solid rgba(63, 207, 142, .4);
    border-radius: 4px;
    padding: 2px 7px;
    color: var(--aurora-green);
    font-size: 10px;
    font-weight: 700;
}

.mdtshot__rows {
    display: grid;
    gap: 8%;
}

.mdtshot__row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 8%;
}

.mdtshot__row:first-child {
    border-top: 0;
    padding-top: 0;
}

.mdtshot__label {
    flex: none;
    width: 32%;
    color: #6d7789;
    font-size: 10px;
}

.mdtshot__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #d8e0ea;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mdtshot__badge {
    flex: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
}

.mdtshot__badge--clear {
    background: rgba(63, 207, 142, .14);
    color: var(--aurora-green);
}

.mdtshot__badge--alert {
    background: rgba(242, 96, 109, .14);
    color: var(--aurora-red);
}

.phoneshot {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 9% 11% 7%;
}

.phoneshot__time {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.phoneshot__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    gap: 13% 9%;
    margin-top: 16%;
}

.phoneshot__app {
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #cfd6e2;
    font-size: 8px;
    font-weight: 600;
}

.phoneshot__app i {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 26%;
    background: linear-gradient(180deg, #1c2634, #12181f);
    color: #8fb4e6;
    font-size: 15px;
}

/* Drugorzedne wejscia: mniejsze od CTA, hairline, wciecie przy nacisnieciu. */
.aurora-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    padding: 0 13px;
    background: rgba(11, 15, 22, .82);
    color: #d8e0ea;
    font-size: 12.5px;
    font-weight: 600;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.aurora-mini i {
    width: 15px;
    color: #8f9bab;
    font-size: 14px;
    text-align: center;
    transition: color .16s ease;
}

.aurora-mini .fa-regular.fa-wallet {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.aurora-mini:hover {
    border-color: rgba(255, 255, 255, .34);
    background: #141b26;
    color: #fff;
}

.aurora-mini:hover i {
    color: #d8e0ea;
}

.aurora-mini:active {
    transform: translateY(1px);
}

.aurora-hero__split {
    width: 1px;
    height: 20px;
    margin: 0 3px;
    background: rgba(255, 255, 255, .14);
}

.aurora-socials {
    display: flex;
    align-items: center;
    gap: 2px;
}

.aurora-social {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: none;
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    transition: color .16s ease, transform .2s ease-out .05s;
}

.aurora-social i {
    font-size: 17px;
}

.aurora-social:hover:not(:disabled) {
    color: #fff;
    transform: translateY(-1px);
}

.aurora-social:disabled {
    opacity: .38;
    cursor: default;
}

.aurora-section {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1160px);
    margin: 0 auto;
    padding: 86px 0;
}

.aurora-section + .aurora-section {
    padding-top: 0;
}

.aurora-section__head {
    max-width: 620px;
    margin: 0 0 34px;
}

.aurora-section__head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.8vw, 32px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.aurora-section__head p {
    margin: 11px 0 0;
    color: #9aa5b5;
    font-size: 14px;
    line-height: 1.6;
}

.feat-list {
    margin: 0;
    border: 1px solid var(--aurora-line);
    border-radius: 10px;
    padding: 0;
    background: rgba(8, 12, 18, .95);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
    list-style: none;
}

.feat-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 22px;
}

.feat-row + .feat-row {
    border-top: 1px solid var(--aurora-line);
}

.feat-row__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--aurora-line);
    border-radius: 8px;
    background: #05090e;
    color: #7cb3ee;
}

.feat-row__icon i {
    font-size: 14px;
}

.feat-row__body {
    min-width: 0;
    flex: 1;
}

.feat-row__body h3 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.feat-row__body p {
    margin: 0;
    color: var(--aurora-muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.feat-row__tag {
    flex-shrink: 0;
    align-self: center;
    border: 1px solid var(--aurora-line);
    border-radius: 5px;
    padding: 3px 8px;
    color: #8995a6;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.spotlight {
    display: grid;
    gap: 22px;
    border: 1px solid rgba(69, 152, 228, .38);
    border-radius: 10px;
    padding: 32px;
    background: #0a1018;
    box-shadow: inset 0 0 0 1px rgba(28, 111, 192, .08), 0 30px 70px rgba(0, 0, 0, .3);
}

.spotlight__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    border: 1px solid rgba(88, 174, 252, .4);
    border-radius: 5px;
    padding: 4px 9px;
    color: #7cbcf7;
    font-size: 10.5px;
    font-weight: 700;
}

.spotlight h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 2.6vw, 29px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.spotlight > p {
    max-width: 560px;
    margin: 0;
    color: #a8b2c2;
    font-size: 14px;
    line-height: 1.6;
}

.spotlight__bullets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.spotlight__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #cbd4df;
    font-size: 13px;
    line-height: 1.45;
}

.spotlight__bullets li::before {
    flex: none;
    margin-top: 2px;
    color: #4f9be0;
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aurora-cta {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--aurora-line);
    padding: 76px 24px;
    text-align: center;
}

.aurora-cta h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.8vw, 30px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.aurora-cta p {
    max-width: 480px;
    margin: 12px auto 0;
    color: #9aa5b5;
    font-size: 14px;
    line-height: 1.6;
}

.aurora-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.aurora-stage {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 128px 0 76px;
}

.aurora-stage__head {
    width: min(760px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}

.aurora-kicker {
    margin: 0 0 12px;
    color: #73b7f5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.aurora-stage h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.aurora-stage__head > p:last-child {
    max-width: 560px;
    margin: 14px auto 0;
    color: #9aa5b5;
    font-size: 14.5px;
    line-height: 1.6;
}

.aurora-page .plans {
    display: grid;
    width: min(880px, 100%);
    margin: 0 auto;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.aurora-page .plan {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid var(--aurora-line);
    border-radius: 10px;
    background: #080b11;
}

.aurora-page .plan--featured {
    padding: 30px 26px 26px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(#0a1018, #0a1018) padding-box,
        conic-gradient(from 220deg, rgba(255, 255, 255, .05), rgba(69, 152, 228, .95) 16%, rgba(255, 255, 255, .55) 27%, rgba(69, 152, 228, .95) 38%, rgba(255, 255, 255, .05) 55%) border-box;
    box-shadow: 0 34px 80px rgba(6, 20, 40, .48);
}

/* margin, not transform: [data-reveal].in forces transform:none once the
   scroll-reveal finishes, which would silently cancel a translateY here. */
@media (min-width: 761px) {
    .aurora-page .plan--featured {
        margin-top: -8px;
    }
}

.aurora-page .plan--featured h2 { padding-right: 96px; }

.aurora-page .plan__tag {
    position: absolute;
    top: 28px;
    right: 28px;
    border: 1px solid rgba(88, 174, 252, .4);
    border-radius: 5px;
    padding: 3px 7px;
    color: #7cbcf7;
    font-size: 10px;
    font-weight: 700;
}


.aurora-page .plan h2 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.aurora-page .plan__for {
    margin: 0;
    color: var(--aurora-muted);
    font-size: 13px;
}

.aurora-page .plan__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0 4px;
    color: #7d8898;
    font-size: 13px;
}

.aurora-page .plan__price span {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.aurora-page .plan__list {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--aurora-line);
    list-style: none;
}

.aurora-page .plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #cbd4df;
    font-size: 13px;
    line-height: 1.45;
}

.aurora-page .plan__list li::before {
    flex: none;
    margin-top: 1px;
    color: #4f9be0;
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.aurora-page .plan__inherit {
    margin: 22px 0 -3px;
    padding-top: 20px;
    border-top: 1px solid var(--aurora-line);
    color: #7d8898;
    font-size: 12px;
    font-weight: 700;
}

.aurora-page .plan__inherit + .plan__list {
    padding-top: 14px;
    border-top: 0;
}

.aurora-page .plan .btn {
    margin-top: auto;
}

.plan-compare {
    width: min(880px, 100%);
    margin: 40px auto 0;
    border: 1px solid var(--aurora-line);
    border-radius: 10px;
    background: rgba(8, 12, 18, .95);
    overflow: hidden;
}

.plan-compare__row {
    display: grid;
    grid-template-columns: 1fr 96px 96px;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
}

.plan-compare__row + .plan-compare__row {
    border-top: 1px solid var(--aurora-line);
}

.plan-compare__row--head {
    color: #7d8898;
    font-size: 12px;
    font-weight: 700;
}

.plan-compare__feat {
    color: #cbd4df;
    font-size: 13px;
}

.plan-compare__cell {
    display: grid;
    place-items: center;
    color: #4f9be0;
}

.plan-compare__cell.is-off {
    color: #384054;
}

.plan-compare__cell i {
    font-size: 13px;
}

.plan-compare__row--head .plan-compare__cell {
    color: #cbd4df;
    font-size: 12px;
    font-weight: 700;
}

.aurora-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--aurora-line-strong);
    border-radius: 9px;
    background: #0d1219;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .2s var(--aurora-spring);
}

.aurora-page .btn:hover {
    border-color: rgba(105, 180, 248, .6);
    background: #121b27;
    transform: translateY(-1px);
}

.aurora-page .btn:active {
    transform: scale(.985);
}

.aurora-page .btn--primary {
    border-color: rgba(88, 174, 252, .58);
    background: #08111c;
    box-shadow: inset 0 0 0 1px rgba(28, 111, 192, .18);
}

.aurora-page .btn--full {
    width: 100%;
}

.pricing-test-msg {
    width: min(880px, 100%);
    margin: 16px auto 0;
    font-size: 12.5px;
    text-align: center;
}

.pricing-test-msg.is-ok { color: var(--aurora-green); }

.pricing-test-msg.is-err { color: var(--aurora-red); }

.aurora-page .btn--lg {
    min-height: 48px;
    padding-inline: 20px;
    font-size: 13px;
}

.pricing__note,
.pricing-test-msg {
    width: min(900px, 100%);
    margin: 17px auto 0;
    color: #6f7b8c;
    font-size: 11px;
    text-align: center;
}

.tenant-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.tenant-head__txt {
    max-width: 680px;
}

.tenant-head h1 {
    margin: 0 0 13px;
    font-size: clamp(40px, 5vw, 60px);
    letter-spacing: -.05em;
}

.tenant-head p:not(.aurora-kicker) {
    margin: 0;
    color: #98a3b2;
    font-size: 14px;
}

.mng-chip {
    display: inline-flex;
    margin-top: 15px;
    padding: 6px 9px;
    border: 1px solid var(--aurora-line);
    border-radius: 7px;
    background: rgba(8, 12, 18, .88);
    color: #798697;
    font-size: 10px;
    font-weight: 700;
}

.server-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.server-card,
.server-empty,
.tenant-loading,
.tenant-error {
    border: 1px solid var(--aurora-line);
    border-radius: 13px;
    background: rgba(8, 12, 18, .95);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
}

.server-card {
    padding: 22px;
}

.server-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.server-card__mark {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--aurora-line);
    border-radius: 11px;
    background: #0f151d;
    color: #8b94a5;
    font-size: 16px;
    font-weight: 800;
}

.server-card__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-card__top h3 {
    margin: 0;
    font-size: 17px;
    letter-spacing: -.02em;
}

.server-card__desc {
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--aurora-muted);
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-card__actions .btn {
    flex: 1 1 auto;
}

.server-empty,
.tenant-loading,
.tenant-error {
    grid-column: 1 / -1;
    min-height: 260px;
    padding: 42px;
    text-align: center;
}

.server-empty {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
}

.server-empty__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 3px;
    border: 1px solid var(--aurora-line);
    border-radius: 13px;
    color: #617084;
}

.server-empty__icon svg {
    width: 23px;
    height: 23px;
}

.server-empty h3,
.server-empty p {
    margin: 0;
}

.server-empty h3 {
    font-size: 17px;
}

.server-empty p,
.tenant-loading,
.tenant-error {
    color: var(--aurora-muted);
    font-size: 13px;
}

.tenant-modal {
    width: min(460px, calc(100% - 28px));
    padding: 0;
    border: 1px solid var(--aurora-line-strong);
    border-radius: 14px;
    background: #090d13;
    color: #fff;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .7);
}

.tenant-modal::backdrop {
    background: rgba(1, 4, 8, .76);
}

.tenant-modal form {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.tenant-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.tenant-modal__head h2,
.tenant-modal__head p {
    margin: 0;
}

.tenant-modal__head h2 {
    font-size: 21px;
}

.tenant-modal__head p {
    margin-top: 5px;
    color: var(--aurora-muted);
    font-size: 12px;
}

.tenant-icon-btn {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--aurora-line);
    border-radius: 9px;
    background: #101620;
    color: #9ba7b7;
    cursor: pointer;
}

.tenant-icon-btn svg {
    width: 17px;
    height: 17px;
}

.tenant-field {
    display: grid;
    gap: 7px;
    color: #8995a6;
    font-size: 11px;
    font-weight: 700;
}

.tenant-field input,
.tenant-field select {
    width: 100%;
    min-height: 43px;
    padding: 0 12px;
    border: 1px solid var(--aurora-line);
    border-radius: 8px;
    outline: 0;
    background: #05090e;
    color: #fff;
}

.tenant-field input:focus,
.tenant-field select:focus {
    border-color: var(--aurora-blue-bright);
    box-shadow: 0 0 0 3px rgba(28, 111, 192, .14);
}

.tenant-form-error,
.mng-error {
    padding: 10px 12px;
    border: 1px solid rgba(242, 96, 109, .28);
    border-radius: 8px;
    background: rgba(242, 96, 109, .08);
    color: #ffadb5;
    font-size: 12px;
}

.js .aurora-page [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .28s linear, transform .46s cubic-bezier(.2, .85, .15, 1);
}

.js .aurora-page [data-reveal].in {
    opacity: 1;
    transform: none;
}

.aurora-foot {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), 1160px);
    margin: 0 auto;
    border-top: 1px solid var(--aurora-line);
    padding: 22px 0 26px;
}

.aurora-foot__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.aurora-foot__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #cbd4df;
    font-size: 13px;
}

.aurora-foot__brand img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.aurora-foot nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.aurora-foot nav a {
    color: var(--aurora-muted);
    font-size: 12.5px;
    transition: color .16s ease;
}

.aurora-foot nav a:hover { color: #fff; }

.aurora-foot small {
    color: #5f6a7a;
    font-size: 11.5px;
}

.aurora-page--landing .aurora-foot {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    border-top: 0;
    padding: 0 0 18px;
}

.aurora-page--landing .aurora-foot__inner {
    width: min(calc(100% - 48px), 1160px);
    margin: 0 auto;
    justify-content: center;
}

.aurora-page--landing .aurora-foot__brand,
.aurora-page--landing .aurora-foot small { display: none; }

.legal-page .aurora-stage { width: min(760px, calc(100% - 48px)); }

.legal-page h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.legal-page .legal__meta {
    margin: 10px 0 0;
    color: #6f7b8c;
    font-size: 12px;
}

.legal-page .legal__head {
    margin-bottom: 26px;
    border-bottom: 1px solid var(--aurora-line);
    padding-bottom: 22px;
}

.legal-page .legal__body {
    border: 1px solid var(--aurora-line);
    border-radius: 12px;
    background: rgba(8, 12, 18, .94);
    padding: 26px 28px 30px;
}

.legal-page .legal__lead {
    margin: 0 0 22px;
    color: #cbd4df;
    font-size: 14px;
    line-height: 1.65;
}

.legal-page .legal__body h2 {
    margin: 26px 0 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.legal-page .legal__body h2:first-of-type { margin-top: 0; }

.legal-page .legal__body p,
.legal-page .legal__body li {
    color: var(--aurora-muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.legal-page .legal__body ul { margin: 10px 0 0; padding-left: 20px; }

.legal-page .legal__body li { margin-bottom: 6px; }

.legal-page .legal__body a { color: var(--aurora-blue-bright); }

.legal-page .legal__body a:hover { text-decoration: underline; }

.aurora-stage--narrow {
    width: min(680px, calc(100% - 40px));
}

.verify-head {
    margin-bottom: 26px;
}

.verify-head h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 40px);
    letter-spacing: -.04em;
}

.verify-head p {
    max-width: 520px;
    margin: 0;
    color: #98a3b2;
    font-size: 14px;
    line-height: 1.6;
}

.verify-steps {
    margin: 18px 0 0;
    border: 1px solid var(--aurora-line);
    border-radius: 10px;
    padding: 0;
    background: rgba(8, 12, 18, .95);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
    list-style: none;
}

.verify-step {
    display: flex;
    gap: 16px;
    padding: 22px;
}

.verify-step + .verify-step {
    border-top: 1px solid var(--aurora-line);
}

/* Numer kroku jest wskaźnikiem stanu, nie ozdobą: wygaszony = jeszcze przed
   nami, obwódka = teraz, wypełniony = zrobione. */
.verify-step__node {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--aurora-line);
    border-radius: 8px;
    background: #05090e;
    color: #6b7788;
    font-size: 12px;
    font-weight: 700;
}

.verify-step.is-current .verify-step__node {
    border-color: var(--aurora-blue-bright);
    color: #fff;
}

.verify-step.is-done .verify-step__node {
    border-color: rgba(63, 207, 142, .5);
    background: rgba(63, 207, 142, .12);
    color: var(--aurora-green);
}

.verify-step__body {
    flex: 1;
    min-width: 0;
}

.verify-step__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.verify-step__head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.verify-state {
    color: #798697;
    font-size: 11px;
    font-weight: 700;
}

.verify-state--done {
    color: var(--aurora-green);
}

.verify-ident {
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--aurora-line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #05090e;
}

.verify-ident__avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0d1219;
    color: #8b94a5;
    font-size: 13px;
    font-weight: 700;
}

.verify-ident__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verify-ident__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.verify-ident__text b {
    overflow: hidden;
    font-size: 13.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verify-ident__text code {
    color: #6b7788;
    font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
    font-size: 11px;
}

.verify-step__note {
    margin: 12px 0 0;
    color: #8995a6;
    font-size: 12.5px;
    line-height: 1.55;
}

.verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.aurora-page .btn.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.verify-done {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.verify-done p {
    margin: 0;
    color: #98a3b2;
    font-size: 13px;
}

@media (max-width: 760px) {
    .aurora-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    .aurora-nav__inner {
        min-height: 48px;
        gap: 24px;
    }

    .aurora-brand {
        padding: 5px 14px 5px 6px;
    }

    .aurora-brand__mark {
        width: 34px;
        height: 34px;
    }

    .aurora-nav__actions {
        min-height: 44px;
        padding: 4px;
    }

    .aurora-stage {
        width: min(100% - 24px, 1120px);
        padding-top: 105px;
    }

    .aurora-hero {
        height: auto;
        min-height: 100svh;
        padding: 104px 20px 48px;
    }

    .aurora-hero__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 36px;
        text-align: center;
    }

    .aurora-hero__content {
        justify-items: center;
        text-align: center;
    }

    .aurora-hero__actions {
        align-items: center;
    }

    .aurora-hero__row {
        justify-content: center;
    }

    .aurora-hero__devices {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .device--mdt {
        width: 260px;
    }

    .device--phone {
        width: 92px;
    }

    .server-list {
        grid-template-columns: 1fr;
    }

    .aurora-page .plans {
        grid-template-columns: 1fr;
    }

    .price-close,
    .tenant-head {
        align-items: stretch;
        flex-direction: column;
    }

    .aurora-section {
        padding: 64px 0;
    }

    .spotlight {
        padding: 24px;
    }

    .spotlight__bullets {
        grid-template-columns: 1fr;
    }

    .aurora-cta {
        padding: 60px 24px;
    }

    .plan-compare__row {
        grid-template-columns: 1fr 64px 64px;
        gap: 4px;
        padding: 12px 14px;
    }
}

@media (max-width: 520px) {
    .aurora-page .plan__tag {
        position: static;
        display: inline-block;
        margin-bottom: 14px;
    }

    .aurora-page .plan--featured h2 {
        padding-right: 0;
    }

    .aurora-brand {
        font-size: 15px;
    }

    .aurora-hero__actions {
        width: min(100%, 300px);
    }

    .aurora-hero__content {
        gap: 32px;
    }

    .aurora-hero__headline {
        max-width: 340px;
        font-size: clamp(36px, 10.5vw, 44px);
        line-height: 1.02;
    }

    .aurora-page .btn--lg {
        width: 100%;
    }

    .aurora-hero__devices {
        width: 236px;
        height: 240px;
    }

    .device--mdt {
        width: 208px;
    }

    .device--phone {
        width: 72px;
    }

    .aurora-page .plan {
        padding: 22px;
    }

    .aurora-page .plan--featured {
        padding: 24px;
    }

    .feat-row {
        padding: 16px 18px;
    }

    .feat-row__tag {
        display: none;
    }

    .plan-compare__row {
        grid-template-columns: 1fr 48px 48px;
    }

    .server-card {
        padding: 18px;
    }

    .verify-step {
        padding: 18px;
    }

    .verify-done {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-shader canvas {
        opacity: .58;
    }

    .js .aurora-page [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
