:root {
    --bg: #f4f7fb;
    --surface: #fff;
    --surface-2: #f7f9fc;
    --text: #172033;
    --muted: #697386;
    --line: #e6ebf2;
    --brand: #6558ff;
    --brand-2: #14b8a6;
    --brand-soft: rgba(101, 88, 255, 0.12);
    --danger: #dc3d52;
    --warning: #d98b16;
    --success: #128a65;
    --shadow: 0 18px 55px rgba(25, 36, 58, 0.11);
    --radius: 22px;
    --sidebar: 270px;
}
[data-theme="obsidian"] {
    --bg: #090d16;
    --surface: #111827;
    --surface-2: #171f30;
    --text: #f5f7ff;
    --muted: #98a4b8;
    --line: #273147;
    --brand: #8b80ff;
    --brand-2: #25d4bd;
    --brand-soft: rgba(139, 128, 255, 0.15);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.55;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
img,
svg {
    display: block;
    max-width: 100%;
}
.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}
.muted {
    color: var(--muted);
}
.text-danger {
    color: var(--danger);
}
.text-success {
    color: var(--success);
}
.text-right {
    text-align: right;
}
.hidden {
    display: none !important;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 11px 17px;
    font-weight: 750;
    cursor: pointer;
    transition: 0.2s ease;
    background: var(--surface-2);
    color: var(--text);
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #786cff);
    box-shadow: 0 11px 28px rgba(101, 88, 255, 0.25);
}
.btn-outline {
    border-color: var(--line);
    background: transparent;
}
.btn-danger {
    background: rgba(220, 61, 82, 0.12);
    color: var(--danger);
}
.btn-sm {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
}
.btn-block {
    width: 100%;
}
.icon-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.badge.success {
    color: var(--success);
    background: rgba(18, 138, 101, 0.09);
}
.badge.warning {
    color: var(--warning);
    background: rgba(217, 139, 22, 0.1);
}
.badge.danger {
    color: var(--danger);
    background: rgba(220, 61, 82, 0.1);
}
.public-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-size: 20px;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--brand), var(--brand-2));
    position: relative;
    box-shadow: 0 8px 20px rgba(101, 88, 255, 0.25);
}
.brand-mark:after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 3px solid #fff;
    border-radius: 50% 50% 46% 54%;
    transform: rotate(28deg);
}
.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 19px;
}
.nav-links a {
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}
.nav-links a:hover {
    color: var(--text);
}
.hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 78px;
}
.hero:before,
.hero:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}
.hero:before {
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(101, 88, 255, 0.19),
        transparent 67%
    );
    top: -210px;
    left: -130px;
}
.hero:after {
    width: 480px;
    height: 480px;
    background: radial-gradient(
        circle,
        rgba(20, 184, 166, 0.16),
        transparent 68%
    );
    right: -140px;
    bottom: -200px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    position: relative;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    box-shadow: var(--shadow);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 800;
}
.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
}
h1 {
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.01;
    letter-spacing: -0.062em;
    margin: 25px 0 22px;
}
.gradient-text {
    background: linear-gradient(100deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    color: transparent;
}
.hero-copy > p {
    max-width: 650px;
    font-size: 19px;
    color: var(--muted);
}
.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 31px;
}
.trust-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.avatar-stack {
    display: flex;
}
.avatar-stack span {
    width: 31px;
    height: 31px;
    margin-left: -8px;
    border-radius: 50%;
    border: 3px solid var(--bg);
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--brand-soft), var(--surface));
    font-size: 11px;
}
.avatar-stack span:first-child {
    margin-left: 0;
}
.product-stage {
    position: relative;
    min-height: 520px;
}
.orb {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.orb.one {
    width: 95px;
    height: 95px;
    right: 6%;
    top: 4%;
    background: linear-gradient(145deg, #ffca68, #ff7a85);
    animation-delay: -1s;
}
.orb.two {
    width: 58px;
    height: 58px;
    left: 3%;
    bottom: 10%;
    background: linear-gradient(145deg, #3ce0c6, #5c8cff);
    animation-delay: -3s;
}
.mock-app {
    position: absolute;
    inset: 38px 0 0 24px;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--surface) 94%, #fff),
        var(--surface-2)
    );
    border: 1px solid color-mix(in srgb, var(--line) 70%, #fff);
    box-shadow: 0 35px 90px rgba(40, 46, 85, 0.2);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.mock-top {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mock-dots {
    display: flex;
    gap: 7px;
}
.mock-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
}
.mock-body {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
    height: 390px;
}
.mock-side {
    border-radius: 18px;
    background: var(--surface-2);
    padding: 16px 12px;
}
.mock-side i {
    display: block;
    height: 9px;
    border-radius: 10px;
    background: var(--line);
    margin: 15px 0;
}
.mock-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mock-welcome {
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand), #877cff);
    color: #fff;
    min-height: 120px;
}
.mock-welcome b {
    font-size: 20px;
}
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mock-stat,
.mock-chart {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
}
.mock-stat small {
    color: var(--muted);
}
.mock-stat strong {
    display: block;
    font-size: 21px;
    margin-top: 8px;
}
.mock-chart {
    height: 155px;
    display: flex;
    align-items: end;
    gap: 9px;
}
.mock-chart i {
    flex: 1;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(var(--brand), var(--brand-2));
    animation: bars 3.3s ease-in-out infinite alternate;
}
.mock-chart i:nth-child(1) {
    height: 32%;
}
.mock-chart i:nth-child(2) {
    height: 51%;
    animation-delay: -1s;
}
.mock-chart i:nth-child(3) {
    height: 44%;
    animation-delay: -2s;
}
.mock-chart i:nth-child(4) {
    height: 73%;
    animation-delay: -0.4s;
}
.mock-chart i:nth-child(5) {
    height: 61%;
    animation-delay: -1.4s;
}
.mock-chart i:nth-child(6) {
    height: 87%;
    animation-delay: -2.4s;
}
.floating-card {
    position: absolute;
    z-index: 4;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 13px 16px;
    font-size: 13px;
    font-weight: 800;
    animation: float 5s ease-in-out infinite;
}
.floating-card.a {
    right: -15px;
    top: 68px;
}
.floating-card.b {
    left: -13px;
    bottom: 58px;
    animation-delay: -2.2s;
}
.section {
    padding: 86px 0;
}
.section-head {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin: 14px 0;
}
.section-head p {
    color: var(--muted);
    font-size: 17px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card,
.category-card {
    padding: 25px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(31, 42, 66, 0.05);
    transition: 0.25s;
}
.feature-card:hover,
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--brand-soft);
    font-size: 22px;
}
.feature-card h3 {
    margin: 18px 0 8px;
}
.feature-card p {
    color: var(--muted);
    margin: 0;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.category-card {
    display: flex;
    align-items: center;
    gap: 15px;
}
.category-card .feature-icon {
    flex: 0 0 auto;
}
.category-card strong {
    display: block;
}
.category-card small {
    color: var(--muted);
}
.cta-panel {
    padding: 50px;
    border-radius: 32px;
    background: linear-gradient(135deg, #5144e9, #756af8 48%, #0cae9c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    position: relative;
}
.cta-panel:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 55px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -80px;
    top: -130px;
}
.cta-panel h2 {
    font-size: 38px;
    letter-spacing: -0.04em;
    margin: 0 0 9px;
}
.cta-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}
.cta-panel .btn {
    position: relative;
    z-index: 2;
    background: #fff;
    color: #3f35ba;
}
.footer {
    padding: 28px 0 45px;
    color: var(--muted);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
}
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-art {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #17134d, #6558ff 60%, #12a996);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.auth-art:before {
    content: "";
    width: 520px;
    height: 520px;
    border: 90px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    position: absolute;
    right: -180px;
    bottom: -180px;
}
.auth-art h1 {
    font-size: 56px;
    max-width: 620px;
}
.auth-panel {
    display: grid;
    place-items: center;
    padding: 45px;
}
.auth-card {
    width: min(470px, 100%);
}
.auth-card h2 {
    font-size: 34px;
    letter-spacing: -0.04em;
    margin: 0 0 8px;
}
.form-group {
    margin-bottom: 17px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 13px;
    padding: 12px 14px;
    outline: none;
    transition: 0.2s;
}
.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
textarea.form-control {
    min-height: 110px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.help {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}
.alert {
    padding: 13px 15px;
    border-radius: 13px;
    margin-bottom: 18px;
    border: 1px solid;
}
.alert-success {
    color: var(--success);
    background: rgba(18, 138, 101, 0.08);
    border-color: rgba(18, 138, 101, 0.2);
}
.alert-danger {
    color: var(--danger);
    background: rgba(220, 61, 82, 0.08);
    border-color: rgba(220, 61, 82, 0.2);
}
.error-list {
    margin: 0;
    padding-left: 20px;
}
.app-shell {
    min-height: 100vh;
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    padding: 25px 17px;
    background: var(--surface);
    border-right: 1px solid var(--line);
    z-index: 60;
    display: flex;
    flex-direction: column;
}
.sidebar .brand {
    padding: 0 9px 24px;
}
.nav-section {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--muted);
    font-weight: 900;
    padding: 18px 12px 8px;
}
.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    margin: 4px 0;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 750;
    font-size: 14px;
}
.side-link:hover,
.side-link.active {
    background: var(--brand-soft);
    color: var(--brand);
}
.side-icon {
    width: 22px;
    text-align: center;
}
.sidebar-foot {
    margin-top: auto;
}
.user-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-2);
}
.avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-weight: 900;
}
.app-main {
    margin-left: var(--sidebar);
    min-height: 100vh;
}
.topbar {
    height: 76px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.page {
    padding: 29px 30px 50px;
}
.page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.page-title h1 {
    font-size: 30px;
    letter-spacing: -0.04em;
    margin: 0;
}
.page-title p {
    margin: 4px 0 0;
    color: var(--muted);
}
.menu-toggle {
    display: none;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}
.stats-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}
.stat-card,
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 32px rgba(28, 38, 61, 0.04);
}
.stat-card {
    padding: 21px;
}
.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.stat-card strong {
    display: block;
    font-size: 27px;
    margin-top: 10px;
    letter-spacing: -0.04em;
}
.panel {
    overflow: hidden;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}
.panel-head h3 {
    margin: 0;
    font-size: 17px;
}
.panel-body {
    padding: 22px;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.table-wrap {
    overflow: auto;
}
.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.table th,
.table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    vertical-align: middle;
}
.table th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.table tr:last-child td {
    border-bottom: 0;
}
.actions {
    display: flex;
    align-items: center;
    gap: 7px;
}
.filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    padding: 18px;
}
.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
}
.pagination {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    padding: 17px;
}
.pagination a,
.pagination span {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 12px;
}
.pagination .active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.service-selector {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 17px;
}
.category-list {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 9px;
    background: var(--surface-2);
}
.category-tab {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 11px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 750;
}
.category-tab.active {
    background: var(--surface);
    color: var(--brand);
    box-shadow: 0 5px 15px rgba(31, 42, 66, 0.06);
}
.order-preview {
    padding: 19px;
    border-radius: 17px;
    background: var(--surface-2);
    border: 1px dashed var(--line);
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 13, 25, 0.66);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-backdrop.open {
    display: flex;
}
.modal {
    width: min(1050px, 100%);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}
.modal-head,
.modal-foot {
    padding: 18px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}
.modal-foot {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}
.modal-head h2 {
    font-size: 21px;
    margin: 0;
}
.modal-body {
    padding: 22px;
    overflow: auto;
}
.stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 22px;
}
.step {
    padding: 11px 13px;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}
.step.active {
    background: var(--brand-soft);
    color: var(--brand);
}
.catalog-toolbar {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 10px;
    margin-bottom: 15px;
}
.catalog-group {
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}
.catalog-group-head {
    padding: 13px 15px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 850;
}
.catalog-item {
    display: grid;
    grid-template-columns: 35px minmax(210px, 1.4fr) 90px 90px 110px minmax(
            170px,
            1fr
        );
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}
.catalog-item small {
    color: var(--muted);
}
.editor-row {
    display: grid;
    grid-template-columns:
        90px minmax(170px, 1.4fr) minmax(180px, 1.2fr)
        150px 120px 120px;
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.editor-row .form-control {
    padding: 9px 10px;
    font-size: 12px;
}
.review-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.review-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2);
}
.loader {
    width: 23px;
    height: 23px;
    border: 3px solid var(--line);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
.install-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 35px;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(101, 88, 255, 0.17),
            transparent 35%
        ),
        var(--bg);
}
.install-card {
    width: min(850px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.install-head {
    padding: 27px 30px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
}
.install-body {
    padding: 29px;
}
.requirement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
@keyframes bars {
    to {
        filter: saturate(1.4);
        transform: scaleY(0.82);
        transform-origin: bottom;
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .product-stage {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }
    .feature-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .catalog-item {
        grid-template-columns: 35px 1fr 80px 80px 100px;
    }
    .catalog-item .category-map {
        grid-column: 2/-1;
    }
    .editor-row {
        grid-template-columns: 70px 1fr 1fr;
    }
    .editor-row > *:nth-child(n + 4) {
        grid-column: auto;
    }
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .auth-art {
        display: none;
    }
}
@media (max-width: 780px) {
    :root {
        --sidebar: 250px;
    }
    .container {
        width: min(100% - 28px, 1180px);
    }
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 65px;
    }
    .mock-app {
        inset: 35px 4px 0;
    }
    .feature-grid,
    .category-grid,
    .form-row,
    .grid-2,
    .review-summary {
        grid-template-columns: 1fr;
    }
    .cta-panel {
        padding: 36px 27px;
        display: block;
    }
    .cta-panel .btn {
        margin-top: 22px;
    }
    .sidebar {
        transform: translateX(-102%);
        transition: 0.25s;
    }
    .sidebar.open {
        transform: none;
    }
    .app-main {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .topbar,
    .page {
        padding-left: 18px;
        padding-right: 18px;
    }
    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filters,
    .catalog-toolbar {
        grid-template-columns: 1fr;
    }
    .service-selector {
        grid-template-columns: 1fr;
    }
    .catalog-item {
        grid-template-columns: 30px 1fr 75px;
    }
    .catalog-item > *:nth-child(n + 4) {
        grid-column: 2/-1;
    }
    .editor-row {
        grid-template-columns: 1fr;
    }
    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .modal-backdrop {
        padding: 10px;
    }
    .modal {
        max-height: 96vh;
        border-radius: 18px;
    }
}
@media (max-width: 520px) {
    h1 {
        font-size: 43px;
    }
    .nav-actions .btn-outline {
        display: none;
    }
    .mock-body {
        grid-template-columns: 1fr;
    }
    .mock-side {
        display: none;
    }
    .product-stage {
        min-height: 470px;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .trust-row {
        align-items: flex-start;
    }
    .footer-inner {
        flex-direction: column;
    }
    .auth-panel {
        padding: 28px 18px;
    }
    .page {
        padding-top: 20px;
    }
}

.catalog-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.editor-heading {
    font-weight: 850;
}

.review-card > strong {
    display: block;
    font-size: 27px;
}

.review-card > .review-provider {
    font-size: 19px;
}

.import-review-table {
    margin-top: 18px;
}

.import-success-icon {
    margin: auto;
}

/* OrbitMint 1.1: scalable order flow, CMS, support desk, and distinct storefront themes */
.brand-logo {
    max-height: 38px;
    max-width: 180px;
    width: auto;
}
.btn-lg {
    padding: 14px 22px;
    font-size: 15px;
}
.order-workspace {
    max-width: 900px;
}
.service-information {
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface-2);
}
.service-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
}
.service-info-grid > div {
    padding: 17px;
    border-right: 1px solid var(--line);
}
.service-info-grid > div:last-child {
    border-right: 0;
}
.service-info-grid span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}
.service-info-grid strong {
    font-size: 14px;
}
.service-description {
    padding: 20px;
}
.service-description p {
    margin: 8px 0 0;
    color: var(--muted);
    white-space: pre-line;
}
.service-flags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 13px;
}
.service-flags span {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    background: var(--surface);
}
.charge-display {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 850;
    color: var(--brand);
}
.mass-order-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.8;
}
.ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 20px;
}
.ticket-message {
    width: min(760px, 92%);
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 25px rgba(24, 35, 56, 0.05);
}
.ticket-message.customer {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}
.ticket-message.staff {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: var(--brand-soft);
    border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.ticket-message header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 12px;
}
.ticket-message header span {
    color: var(--muted);
}
.settings-stack {
    display: grid;
    gap: 20px;
}
.switch-line,
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.check-row {
    margin: 12px 0 20px;
    gap: 22px;
}
.check-row label,
.switch-line {
    font-weight: 700;
    color: var(--text);
}
.color-fields > div {
    display: flex;
    gap: 12px;
}
.color-fields input[type="color"] {
    width: 70px;
    height: 45px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.code-editor {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.65;
}
.public-page-head {
    padding: 110px 0 55px;
    background:
        radial-gradient(circle at 15% 15%, var(--brand-soft), transparent 38%),
        var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.public-page-head h1,
.article-head h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
    margin: 12px 0 16px;
    letter-spacing: -0.045em;
}
.public-page-head p {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
}
.public-section {
    padding: 65px 0;
}
.catalog-filters {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 12px;
    margin-bottom: 18px;
}
.service-public-table details {
    margin-top: 8px;
    color: var(--muted);
}
.service-public-table details p {
    max-width: 560px;
    white-space: pre-line;
}
.api-doc-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.api-nav {
    position: sticky;
    top: 95px;
    display: grid;
    gap: 7px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.api-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 700;
}
.api-nav a:hover {
    background: var(--surface-2);
    color: var(--text);
}
.api-content {
    display: grid;
    gap: 18px;
}
.api-content section,
.content-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.api-content h2 {
    margin-top: 0;
}
.api-content pre,
.obsidian-api pre {
    overflow: auto;
    padding: 20px;
    border-radius: 15px;
    background: #070b13;
    color: #d6e2ff;
    border: 1px solid #273147;
    line-height: 1.65;
}
.endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.method {
    padding: 5px 8px;
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.method.get {
    background: #168567;
}
.method.post {
    background: #6558ff;
}
.footer {
    padding: 55px 0 20px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 38px;
}
.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
}
.footer-grid strong {
    color: var(--text);
}
.footer-grid .brand {
    color: var(--text);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 40px;
    color: var(--muted);
    font-size: 13px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 15px 45px rgba(20, 30, 50, 0.07);
}
.blog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.blog-card-body {
    padding: 22px;
}
.blog-card-body > span {
    font-size: 12px;
    color: var(--muted);
}
.blog-card h2 {
    font-size: 21px;
    line-height: 1.3;
}
.blog-card p {
    color: var(--muted);
}
.text-link {
    color: var(--brand);
    font-weight: 800;
}
.narrow {
    max-width: 850px;
}
.article-head {
    padding: 110px 0 25px;
}
.article-head p {
    color: var(--muted);
}
.article-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 24px;
}
.prose {
    font-size: 17px;
    line-height: 1.8;
}
.prose h2,
.prose h3 {
    line-height: 1.25;
    margin-top: 1.8em;
}
.prose a {
    color: var(--brand);
    text-decoration: underline;
}
.prose img {
    border-radius: 14px;
    margin: 24px 0;
}

/* Obsidian is a separate visual system, not a recolored Aurora page. */
[data-theme="obsidian"] body {
    background: #060910;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
}
[data-theme="obsidian"] .public-nav {
    background: rgba(6, 9, 16, 0.86);
    border-bottom: 1px solid #212b3e;
    backdrop-filter: blur(18px);
}
.obsidian-hero {
    padding: 145px 0 90px;
    min-height: 780px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.obsidian-hero:before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -120px;
    border: 1px solid rgba(139, 128, 255, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(139, 128, 255, 0.035),
        0 0 0 180px rgba(139, 128, 255, 0.025);
}
.obsidian-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.terminal-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font:
        800 11px/1.2 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.14em;
    color: var(--brand-2);
}
.terminal-label span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 16px var(--brand-2);
}
.obsidian-copy h1 {
    font-size: clamp(52px, 6.7vw, 94px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 25px 0;
    color: #f5f7ff;
    max-width: 820px;
}
.obsidian-copy > p {
    font-size: 19px;
    color: #98a4b8;
    max-width: 650px;
    margin-bottom: 30px;
}
.obsidian-metrics {
    display: flex;
    gap: 35px;
    margin-top: 45px;
    border-top: 1px solid #273147;
    padding-top: 25px;
}
.obsidian-metrics div {
    display: grid;
}
.obsidian-metrics strong {
    font-size: 23px;
    color: #fff;
}
.obsidian-metrics span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #78869e;
}
.command-console {
    border: 1px solid #2d3951;
    border-radius: 20px;
    background: rgba(10, 15, 27, 0.92);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(101, 88, 255, 0.1);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.console-top {
    height: 53px;
    border-bottom: 1px solid #273147;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    color: #718099;
    font:
        700 10px ui-monospace,
        monospace;
    letter-spacing: 0.1em;
}
.console-top span {
    margin-right: auto;
}
.console-top i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34415a;
}
.console-body {
    padding: 28px;
    font:
        13px/1.65 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.console-line {
    color: #d6e2ff;
    margin-top: 12px;
}
.prompt {
    color: var(--brand-2);
    margin-right: 8px;
}
.console-output {
    padding: 7px 0 15px 21px;
}
.success-text {
    color: #45e0bd;
}
.console-chart {
    height: 145px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    padding: 20px 0;
    border-bottom: 1px solid #202a3c;
}
.console-chart i {
    flex: 1;
    background: linear-gradient(180deg, var(--brand-2), var(--brand));
    border-radius: 3px 3px 0 0;
    opacity: 0.8;
}
.console-table {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
    margin-top: 18px;
    padding: 16px;
    background: #0d1422;
    border: 1px solid #202a3c;
    border-radius: 12px;
}
.console-table span {
    color: #78869e;
}
.console-table strong {
    color: #fff;
}
.obsidian-strip {
    border-top: 1px solid #222c3f;
    border-bottom: 1px solid #222c3f;
    background: #0a0f1a;
}
.obsidian-strip .container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    overflow: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #718099;
    font:
        800 10px ui-monospace,
        monospace;
    letter-spacing: 0.14em;
    white-space: nowrap;
}
.obsidian-section,
.obsidian-workflow,
.obsidian-api {
    padding: 105px 0;
}
.section-heading {
    margin-bottom: 42px;
}
.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}
.section-heading h2,
.obsidian-api h2 {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin: 15px 0;
    color: #f5f7ff;
    max-width: 720px;
}
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #29344a;
    border-left: 1px solid #29344a;
}
.network-grid article {
    padding: 30px;
    min-height: 230px;
    border-right: 1px solid #29344a;
    border-bottom: 1px solid #29344a;
    background: rgba(11, 16, 28, 0.65);
}
.network-index {
    font:
        700 11px ui-monospace,
        monospace;
    color: var(--brand-2);
}
.network-grid h3 {
    font-size: 24px;
    margin: 35px 0 10px;
    color: #fff;
}
.network-grid p {
    color: #8794aa;
}
.network-line {
    height: 2px;
    background: #202a3d;
    margin-top: 25px;
}
.network-line i {
    display: block;
    width: 35%;
    height: 100%;
    background: var(--brand);
}
.obsidian-workflow {
    background: #0a0f1a;
    border-top: 1px solid #212b3e;
    border-bottom: 1px solid #212b3e;
}
.pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #2a354b;
    border: 1px solid #2a354b;
}
.pipeline article {
    padding: 30px;
    background: #0c1220;
    min-height: 275px;
}
.pipeline b {
    font:
        800 12px ui-monospace,
        monospace;
    color: var(--brand-2);
}
.pipeline h3 {
    font-size: 22px;
    color: #fff;
    margin-top: 50px;
}
.pipeline p {
    color: #8996ab;
}
.obsidian-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.obsidian-api p {
    font-size: 18px;
    color: #8d9ab0;
    max-width: 560px;
}
.obsidian-api pre {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    font-size: 13px;
}

@media (max-width: 900px) {
    .service-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-info-grid > div:nth-child(2) {
        border-right: 0;
    }
    .service-info-grid > div {
        border-bottom: 1px solid var(--line);
    }
    .api-doc-layout {
        grid-template-columns: 1fr;
    }
    .api-nav {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .obsidian-hero-grid,
    .obsidian-api-grid {
        grid-template-columns: 1fr;
    }
    .command-console {
        transform: none;
    }
    .network-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pipeline {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 650px) {
    .catalog-filters {
        grid-template-columns: 1fr;
    }
    .service-info-grid {
        grid-template-columns: 1fr;
    }
    .service-info-grid > div {
        border-right: 0;
    }
    .ticket-message {
        width: 100%;
    }
    .api-nav {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid,
    .footer-grid,
    .network-grid,
    .pipeline {
        grid-template-columns: 1fr;
    }
    .footer-bottom,
    .section-heading.split {
        align-items: flex-start;
        flex-direction: column;
    }
    .obsidian-hero {
        padding-top: 115px;
    }
    .obsidian-copy h1 {
        font-size: 52px;
    }
    .obsidian-metrics {
        gap: 18px;
        flex-wrap: wrap;
    }
    .command-console {
        margin-top: 15px;
    }
    .public-page-head {
        padding-top: 95px;
    }
}

/* Aurora: editorial commerce layout */
.aurora-hero {
    padding: 145px 0 90px;
    background: linear-gradient(180deg, #fff 0%, #f5f5fb 100%);
    position: relative;
    overflow: hidden;
}
.aurora-hero:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-soft), transparent 68%);
    left: -160px;
    top: -180px;
}
.aurora-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr;
    gap: 90px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.aurora-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid #dcdff0;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #525d73;
}
.aurora-copy h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(55px, 7.4vw, 104px);
    line-height: 0.91;
    letter-spacing: -0.055em;
    font-weight: 500;
    margin: 28px 0;
    color: #151928;
    max-width: 820px;
}
.aurora-copy > p {
    font-size: 19px;
    color: #616b7f;
    max-width: 650px;
    margin-bottom: 30px;
}
.aurora-proof {
    display: flex;
    gap: 40px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid #dfe3ec;
}
.aurora-proof div {
    display: grid;
    gap: 2px;
}
.aurora-proof strong {
    font-family: Georgia, serif;
    font-size: 25px;
    color: #171c2c;
}
.aurora-proof span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7d8799;
}
.aurora-order-card {
    position: relative;
    padding: 28px;
    border: 1px solid #dfe3ed;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 35px 90px rgba(35, 43, 70, 0.14);
    transform: rotate(1.5deg);
}
.aurora-order-card:before {
    content: "";
    position: absolute;
    inset: 10px -12px -12px 12px;
    border: 1px solid #dfe3ed;
    border-radius: 26px;
    z-index: -1;
    background: #eeeff7;
}
.order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e9f1;
    padding-bottom: 17px;
    margin-bottom: 18px;
}
.order-card-head span {
    font-size: 20px;
    font-weight: 900;
}
.order-card-head i {
    font-style: normal;
    font-size: 11px;
    color: #168567;
    background: #e8f8f2;
    padding: 5px 8px;
    border-radius: 999px;
}
.aurora-order-card label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #727d90;
    font-weight: 800;
    margin: 14px 0 7px;
}
.fake-select,
.fake-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 47px;
    border: 1px solid #dfe3ed;
    background: #fafbfe;
    border-radius: 12px;
    padding: 0 14px;
    color: #667086;
}
.fake-select.strong {
    color: #1c2335;
    font-weight: 750;
}
.fake-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 14px 0;
    border: 1px solid #e4e7ef;
    border-radius: 12px;
    overflow: hidden;
}
.fake-specs div {
    padding: 12px;
    border-right: 1px solid #e4e7ef;
}
.fake-specs div:last-child {
    border-right: 0;
}
.fake-specs span {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8992a3;
}
.fake-specs strong {
    font-size: 12px;
    color: #252c3d;
}
.fake-total {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    margin-top: 15px;
    background: #f0efff;
    border-radius: 12px;
    color: #59637a;
}
.fake-total strong {
    color: var(--brand);
}
.fake-submit {
    margin-top: 12px;
    border-radius: 12px;
    padding: 14px;
    background: var(--brand);
    color: #fff;
    text-align: center;
    font-weight: 850;
}
.paper-note {
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 175px;
    padding: 15px;
    background: #fff6c9;
    border: 1px solid #eadf9d;
    box-shadow: 0 12px 35px rgba(74, 64, 22, 0.15);
    font-family: "Comic Sans MS", cursive;
    font-size: 12px;
    transform: rotate(-4deg);
    color: #4d482d;
}
.aurora-logo-line {
    border-top: 1px solid #e1e4ec;
    border-bottom: 1px solid #e1e4ec;
    background: #fff;
}
.aurora-logo-line .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: auto;
    padding-top: 19px;
    padding-bottom: 19px;
    white-space: nowrap;
}
.aurora-logo-line span {
    color: #8a93a3;
    font-size: 12px;
}
.aurora-logo-line strong {
    font-family: Georgia, serif;
    font-size: 17px;
    color: #343b4e;
}
.aurora-section,
.aurora-feature-section {
    padding: 110px 0;
    background: #f8f9fc;
}
.aurora-heading {
    max-width: 820px;
    margin-bottom: 50px;
}
.aurora-heading > span,
.story-intro > span,
.aurora-final span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.13em;
    color: var(--brand);
}
.aurora-heading h2,
.story-intro h2,
.aurora-final h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.7vw, 75px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin: 13px 0;
    color: #171b29;
}
.aurora-heading p,
.story-intro p {
    font-size: 18px;
    color: #697386;
    max-width: 680px;
}
.aurora-heading.compact {
    max-width: 760px;
}
.aurora-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #dfe3ec;
    border-left: 1px solid #dfe3ec;
    background: #fff;
}
.aurora-categories a {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 27px;
    border-right: 1px solid #dfe3ec;
    border-bottom: 1px solid #dfe3ec;
    transition: 0.2s;
}
.aurora-categories a:hover {
    background: #f1f0ff;
    transform: translateY(-2px);
}
.aurora-categories > a > span {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    color: #9aa3b4;
}
.aurora-categories h3 {
    margin: 0 0 4px;
    font-size: 20px;
}
.aurora-categories p {
    margin: 0;
    color: #7b8597;
    font-size: 13px;
}
.aurora-categories b {
    color: var(--brand);
}
.center-action {
    text-align: center;
    margin-top: 35px;
}
.aurora-story {
    padding: 115px 0;
    background: #fff;
    border-top: 1px solid #e2e5ec;
    border-bottom: 1px solid #e2e5ec;
}
.aurora-story-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 85px;
    align-items: start;
}
.story-intro {
    position: sticky;
    top: 120px;
}
.story-steps {
    display: grid;
}
.story-steps article {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 22px;
    padding: 31px 0;
    border-bottom: 1px solid #e2e5ec;
}
.story-steps article:first-child {
    padding-top: 0;
}
.story-steps b {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid #d9ddec;
    border-radius: 50%;
    font-family: Georgia, serif;
    color: var(--brand);
}
.story-steps h3 {
    margin: 0 0 8px;
    font-size: 24px;
}
.story-steps p {
    margin: 0;
    color: #6f788b;
    font-size: 16px;
}
.aurora-feature-section {
    background: #efeff8;
}
.aurora-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.aurora-feature-grid article {
    min-height: 280px;
    padding: 25px;
    border: 1px solid #daddea;
    border-radius: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.aurora-feature-grid article > span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: var(--brand);
}
.aurora-feature-grid h3 {
    font-size: 22px;
    margin: 55px 0 10px;
}
.aurora-feature-grid p {
    color: #727c8e;
}
.aurora-feature-grid a {
    margin-top: auto;
    color: var(--brand);
    font-weight: 800;
    font-size: 13px;
}
.aurora-final {
    padding: 80px 0;
    background: #171b29;
    color: #fff;
}
.aurora-final .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.aurora-final h2 {
    color: #fff;
    max-width: 780px;
    font-size: clamp(38px, 5vw, 66px);
}
@media (max-width: 980px) {
    .aurora-hero-grid,
    .aurora-story-grid {
        grid-template-columns: 1fr;
    }
    .aurora-order-card {
        max-width: 650px;
        transform: none;
    }
    .story-intro {
        position: static;
    }
    .aurora-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 650px) {
    .aurora-hero {
        padding-top: 110px;
    }
    .aurora-copy h1 {
        font-size: 55px;
    }
    .aurora-proof {
        gap: 18px;
        flex-wrap: wrap;
    }
    .paper-note {
        display: none;
    }
    .aurora-categories,
    .aurora-feature-grid {
        grid-template-columns: 1fr;
    }
    .aurora-final .container {
        align-items: flex-start;
        flex-direction: column;
    }
    .fake-specs {
        grid-template-columns: 1fr;
    }
    .fake-specs div {
        border-right: 0;
        border-bottom: 1px solid #e4e7ef;
    }
    .fake-specs div:last-child {
        border-bottom: 0;
    }
}

/* Dashboard theme differentiation */
[data-theme="obsidian"] .app-shell {
    background: #060910;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 34px 34px;
}
[data-theme="obsidian"] .sidebar {
    width: 245px;
    background: #080d17;
    border-right: 1px solid #253047;
    box-shadow: 18px 0 60px rgba(0, 0, 0, 0.28);
}
[data-theme="obsidian"] .app-main {
    margin-left: 245px;
}
[data-theme="obsidian"] .sidebar .brand {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
[data-theme="obsidian"] .nav-section {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #60708a;
    letter-spacing: 0.16em;
}
[data-theme="obsidian"] .side-link {
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    border-left: 2px solid transparent;
}
[data-theme="obsidian"] .side-link:hover,
[data-theme="obsidian"] .side-link.active {
    background: #101827;
    border-left-color: var(--brand-2);
    color: #f5f7ff;
    box-shadow: none;
}
[data-theme="obsidian"] .side-icon {
    border-radius: 5px;
    background: #111a2a;
    color: var(--brand-2);
}
[data-theme="obsidian"] .topbar {
    background: rgba(8, 13, 23, 0.9);
    border-bottom: 1px solid #253047;
    backdrop-filter: blur(16px);
}
[data-theme="obsidian"] .panel,
[data-theme="obsidian"] .stat-card,
[data-theme="obsidian"] .form-control,
[data-theme="obsidian"] .order-preview {
    border-radius: 8px;
}
[data-theme="obsidian"] .panel {
    background: rgba(13, 19, 32, 0.9);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.23);
}
[data-theme="obsidian"] .page-title h1 {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
    letter-spacing: -0.035em;
}
[data-theme="obsidian"] .table th {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--brand-2);
}
[data-theme="obsidian"] .btn {
    border-radius: 6px;
}
[data-theme="obsidian"] .btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 25px rgba(37, 212, 189, 0.14);
}
[data-theme="obsidian"] .service-information {
    border-radius: 8px;
    background: #0c1422;
}
[data-theme="obsidian"] .ticket-message {
    border-radius: 8px;
    background: #0d1422;
}
[data-theme="obsidian"] .ticket-message.staff {
    background: #111b2d;
}
@media (max-width: 980px) {
    [data-theme="obsidian"] .sidebar {
        width: 245px;
    }
    [data-theme="obsidian"] .app-main {
        margin-left: 0;
    }
}

/* ========================================================================
   OrbitMint 1.2 premium public system, payment UI, and admin refinements
   ======================================================================== */
:root {
    --accent: #ffb547;
    --ink: #111425;
    --soft-shadow: 0 30px 90px rgba(42, 36, 92, 0.14);
}
.btn-lg {
    padding: 15px 22px;
    border-radius: 15px;
    font-size: 15px;
}
.btn-dark {
    background: #151725;
    color: #fff;
    box-shadow: 0 16px 35px rgba(14, 17, 32, 0.18);
}
.btn-light {
    background: #fff;
    color: #121426;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}
.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.brand-logo {
    width: auto;
    max-width: 190px;
    height: 40px;
    object-fit: contain;
}
.logo-dark {
    display: none;
}
[data-theme="obsidian"] .logo-light {
    display: none;
}
[data-theme="obsidian"] .logo-dark {
    display: block;
}
.brand-mark i {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    right: 5px;
    top: 5px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.public-body {
    overflow-x: hidden;
}
.public-nav {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(26, 25, 55, 0.07);
    transition:
        background 0.25s,
        box-shadow 0.25s;
}
.public-nav.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 40px rgba(32, 28, 74, 0.08);
}
[data-theme="obsidian"] .public-nav {
    background: rgba(4, 7, 13, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="obsidian"] .public-nav.scrolled {
    background: rgba(4, 7, 13, 0.95);
    box-shadow: 0 15px 55px rgba(0, 0, 0, 0.36);
}
.nav-inner {
    min-height: 84px;
}
.public-nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex: 1;
}
.public-brand {
    min-width: 190px;
}
.nav-links {
    margin: auto;
}
.nav-links a {
    position: relative;
    padding: 31px 0;
    font-size: 13px;
    letter-spacing: 0.01em;
}
.nav-links a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transition: right 0.2s;
}
.nav-links a:hover:after,
.nav-links a.active:after {
    right: 0;
}
.nav-signin {
    font-size: 13px;
    font-weight: 800;
}
.theme-orbit-button {
    width: 41px;
    height: 41px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
}
.theme-orbit-button i {
    display: none;
}
.theme-orbit-button span {
    transition: transform 0.35s;
}
.theme-orbit-button:hover span {
    transform: rotate(180deg);
}
.public-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    padding: 10px;
}
.public-menu-toggle span {
    height: 2px;
    background: var(--text);
    display: block;
    margin: 5px;
    border-radius: 2px;
    transition: 0.25s;
}
.premium-footer {
    position: relative;
    overflow: hidden;
    background: #0d1020 !important;
    color: #d7d9e7;
    padding: 0 !important;
}
.footer-aurora {
    position: absolute;
    width: 750px;
    height: 350px;
    left: 50%;
    top: -310px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--brand), transparent 68%);
    opacity: 0.35;
    filter: blur(12px);
}
.footer-topline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font:
        700 10px/1.2 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.13em;
    color: #8f96ae;
}
.footer-topline i {
    width: 4px;
    height: 4px;
    background: var(--brand-2);
    border-radius: 50%;
}
.premium-footer .footer-grid {
    position: relative;
    padding: 72px 0 65px;
    grid-template-columns: 1.65fr repeat(3, 1fr);
    gap: 70px;
}
.premium-footer .brand {
    color: #fff;
}
.premium-footer .footer-brand-column p {
    max-width: 390px;
    margin: 22px 0;
    color: #949aaf;
    font-size: 15px;
}
.premium-footer .footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.premium-footer .footer-grid strong {
    color: #fff;
    margin-bottom: 8px;
    font-size: 13px;
}
.premium-footer .footer-grid a,
.premium-footer .footer-grid span {
    color: #9299af;
    font-size: 13px;
}
.premium-footer .footer-grid a:hover {
    color: #fff;
}
.footer-email {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-weight: 700;
}
.footer-status {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-status i {
    width: 7px;
    height: 7px;
    background: #32d5a5;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(50, 213, 165, 0.11);
}
.premium-footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.08);
    padding: 22px 0 28px;
    color: #6f768c;
    font-size: 12px;
}
.cookie-banner {
    position: fixed;
    z-index: 120;
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 720px;
    margin: auto;
    padding: 16px 18px 16px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-banner span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.cookie-banner p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Admin settings and gateway utilities */
.file-drop {
    position: relative;
    display: flex;
    min-height: 112px;
    border: 1.5px dashed color-mix(in srgb, var(--brand) 36%, var(--line));
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--brand) 5%, var(--surface)),
        var(--surface)
    );
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.file-drop:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
}
.file-drop input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-drop b,
.file-drop small {
    display: block;
}
.file-drop b {
    color: var(--brand);
}
.file-drop small {
    margin-top: 4px;
    color: var(--muted);
}
.remove-media {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    font-size: 12px;
    color: var(--muted);
}
.input-suffix {
    position: relative;
}
.input-suffix > span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    color: var(--muted);
}
.input-suffix .form-control {
    padding-right: 44px;
}
.four-cols {
    grid-template-columns: repeat(4, 1fr);
}
.gateway-choice-logo img,
.selected-gateway-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Wallet checkout */
.wallet-page-title {
    align-items: flex-end;
}
.balance-pill {
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    min-width: 230px;
}
.balance-pill span,
.balance-pill strong {
    display: block;
}
.balance-pill span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 800;
}
.balance-pill strong {
    margin-top: 4px;
    font-size: 21px;
}
.wallet-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 26px;
    align-items: start;
}
.section-mini-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}
.section-mini-head span,
.checkout-card-head > div > span {
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand);
    letter-spacing: 0.14em;
}
.section-mini-head h2,
.checkout-card-head h2 {
    font-size: 21px;
    margin: 5px 0 0;
    letter-spacing: -0.035em;
}
.section-mini-head small {
    color: var(--muted);
}
.gateway-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.gateway-choice {
    appearance: none;
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 17px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}
.gateway-choice:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 35px rgba(25, 36, 58, 0.09);
}
.gateway-choice.active {
    border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--brand) 11%, transparent),
        0 16px 42px rgba(101, 88, 255, 0.12);
}
.gateway-choice-logo,
.selected-gateway-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 7px;
    flex: 0 0 auto;
}
.gateway-choice-logo b,
.selected-gateway-mark b {
    font-size: 17px;
    color: var(--brand);
}
.gateway-choice-copy {
    min-width: 0;
}
.gateway-choice-copy strong,
.gateway-choice-copy small {
    display: block;
}
.gateway-choice-copy strong {
    font-size: 14px;
}
.gateway-choice-copy small {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}
.gateway-choice-check {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    margin-left: auto;
    opacity: 0;
    transform: scale(0.65);
    transition: 0.2s;
}
.gateway-choice.active .gateway-choice-check {
    opacity: 1;
    transform: scale(1);
}
.wallet-security-panel {
    margin-top: 20px;
}
.wallet-security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 !important;
    padding: 0 !important;
}
.wallet-security-grid article {
    padding: 18px;
    display: flex;
    gap: 12px;
    border-right: 1px solid var(--line);
}
.wallet-security-grid article:last-child {
    border-right: 0;
}
.wallet-security-grid article > span {
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand);
}
.wallet-security-grid strong {
    font-size: 13px;
}
.wallet-security-grid p {
    font-size: 11px;
    color: var(--muted);
    margin: 4px 0 0;
}
.wallet-checkout-card {
    position: sticky;
    top: 108px;
    background: linear-gradient(
        145deg,
        var(--surface),
        color-mix(in srgb, var(--brand) 4%, var(--surface))
    );
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(34, 29, 78, 0.15);
    overflow: hidden;
}
.checkout-card-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--brand) 24%, transparent),
        transparent 68%
    );
    right: -90px;
    top: -110px;
    pointer-events: none;
}
.checkout-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}
.secure-chip {
    font-size: 10px;
    color: var(--success);
    border: 1px solid color-mix(in srgb, var(--success) 25%, var(--line));
    background: rgba(18, 138, 101, 0.06);
    padding: 6px 8px;
    border-radius: 999px;
}
.selected-gateway-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    padding: 13px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 74%, transparent);
    border-radius: 16px;
}
.selected-gateway-summary small,
.selected-gateway-summary strong {
    display: block;
}
.selected-gateway-summary small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.environment-tag {
    margin-left: auto;
    font-size: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 5px 7px;
    border-radius: 8px;
    color: var(--muted);
}
.money-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    overflow: hidden;
    transition: 0.2s;
}
.money-input:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.money-input span {
    padding: 0 15px;
    font-size: 13px;
    font-weight: 900;
    color: var(--brand);
    border-right: 1px solid var(--line);
}
.money-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 15px;
    font-size: 21px;
    font-weight: 800;
}
.amount-hints {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    font-size: 10px;
    color: var(--muted);
}
.amount-hints b {
    color: var(--text);
}
.quick-amounts {
    display: flex;
    gap: 7px;
    margin: 14px 0 18px;
    flex-wrap: wrap;
}
.quick-amounts button {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.quick-amounts button:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.payment-breakdown {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    margin-bottom: 17px;
}
.payment-breakdown > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    color: var(--muted);
    font-size: 12px;
}
.payment-breakdown strong {
    color: var(--text);
}
.payment-breakdown i {
    font-style: normal;
    font-size: 10px;
}
.payment-breakdown .payment-total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px dashed var(--line);
    font-weight: 800;
    color: var(--text);
}
.payment-breakdown .payment-total strong {
    font-size: 20px;
    color: var(--brand);
}
.gateway-instructions {
    padding: 12px 13px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 27%, var(--line));
    margin-bottom: 14px;
}
.gateway-instructions span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 900;
    color: #a86b09;
}
.gateway-instructions p {
    font-size: 12px;
    margin: 4px 0 0;
    color: var(--muted);
}
.deposit-submit {
    padding: 15px;
}
.checkout-note {
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    margin: 11px 0 0;
}
.transaction-panel {
    margin-top: 25px;
}
.empty-spacious {
    padding: 75px 20px;
}
.empty-orb {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 28px;
}

/* Payment logs */
.payment-stat-grid {
    margin-bottom: 20px;
}
.payment-filter-head {
    align-items: flex-end;
}
.inline-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.inline-filters .form-control {
    width: auto;
    min-width: 145px;
}
.inline-filters input {
    min-width: 240px !important;
}
.table-sub {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gateway-mini-mark {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-grid;
    place-items: center;
    margin-right: 7px;
    font-weight: 900;
    font-size: 11px;
}
.payment-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
}
.detail-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 !important;
}
.detail-list > div {
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.detail-list > div:nth-child(2n) {
    border-right: 0;
}
.detail-list > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}
.detail-list span,
.detail-list strong,
.detail-list small {
    display: block;
}
.detail-list span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}
.detail-list strong {
    margin-top: 5px;
}
.detail-list small {
    color: var(--muted);
    margin-top: 3px;
}
.payment-notes p {
    font-size: 13px;
    color: var(--muted);
}
.payload-view {
    margin: 0;
    max-height: 520px;
    overflow: auto;
    padding: 18px;
    border-radius: 13px;
    background: #0a0d15;
    color: #d6e2ff;
    font:
        12px/1.7 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}

/* Shared public animation and typography */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: none;
}
.section-kicker {
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}
.center-action {
    text-align: center;
    margin-top: 42px;
}
.nova-section {
    padding: 125px 0;
}
.nova-section-head {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 60px;
}
.nova-section-head h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.062em;
    margin: 0;
    color: #131526;
}
.nova-section-head h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--brand);
}
.nova-section-head > p {
    margin: 0;
    color: #6e7487;
    font-size: 16px;
}
.nova-section-head.centered {
    display: block;
    text-align: center;
    max-width: 830px;
    margin: 0 auto 60px;
}
.nova-section-head.centered > p {
    max-width: 620px;
    margin: 20px auto 0;
}

/* Aurora / Nova home */
[data-theme="aurora"] .public-body {
    background: #fbfaff;
    color: #171829;
}
.nova-hero {
    position: relative;
    padding: 160px 0 0;
    min-height: 920px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 55% 20%,
            rgba(118, 89, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(180deg, #fcfbff 0, #f7f5ff 76%, #fff 100%);
}
.nova-noise {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
.nova-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
}
.nova-light-one {
    width: 620px;
    height: 620px;
    right: -280px;
    top: -250px;
    background: radial-gradient(
        circle,
        rgba(45, 212, 191, 0.18),
        transparent 67%
    );
}
.nova-light-two {
    width: 520px;
    height: 520px;
    left: -300px;
    top: 280px;
    background: radial-gradient(
        circle,
        rgba(123, 91, 255, 0.12),
        transparent 67%
    );
}
.nova-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
    align-items: center;
}
.nova-copy {
    padding-bottom: 100px;
}
.nova-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(92, 70, 210, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 9px 30px rgba(66, 48, 151, 0.08);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #574b8f;
}
.nova-badge span {
    width: 8px;
    height: 8px;
    background: var(--brand-2);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.12);
}
.nova-copy h1 {
    max-width: 720px;
    font-size: clamp(58px, 6.4vw, 94px);
    margin: 24px 0;
    line-height: 0.94;
    letter-spacing: -0.075em;
    color: #121323;
}
.nova-copy > p {
    max-width: 650px;
    color: #696f82;
    font-size: 18px;
}
.nova-actions {
    margin-top: 34px;
    align-items: center;
}
.nova-play-link {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-left: 7px;
}
.nova-play-link > i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #d8d5e6;
    background: #fff;
    color: var(--brand);
    font-style: normal;
    box-shadow: 0 9px 25px rgba(32, 28, 74, 0.08);
}
.nova-play-link span,
.nova-play-link small {
    display: block;
}
.nova-play-link span {
    font-weight: 800;
    font-size: 13px;
}
.nova-play-link small {
    font-weight: 500;
    color: #8c90a1;
    font-size: 10px;
    margin-top: 2px;
}
.nova-trust-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 44px;
}
.nova-avatars {
    display: flex;
}
.nova-avatars span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #fbfaff;
    margin-left: -8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1c1e31, #7a65ff);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}
.nova-avatars span:first-child {
    margin-left: 0;
}
.nova-avatars span:nth-child(2) {
    background: linear-gradient(135deg, #15a894, #71eadb);
}
.nova-avatars span:nth-child(3) {
    background: linear-gradient(135deg, #eb804b, #ffc061);
}
.nova-trust-row > div:last-child strong,
.nova-trust-row > div:last-child span {
    display: block;
}
.nova-trust-row > div:last-child strong {
    font-size: 12px;
}
.nova-trust-row > div:last-child span {
    color: #9295a4;
    font-size: 10px;
}
.nova-visual {
    height: 650px;
    position: relative;
    perspective: 1100px;
}
.nova-planet {
    position: absolute;
    width: 330px;
    height: 330px;
    right: 82px;
    top: 85px;
    transform-style: preserve-3d;
    animation: novaFloat 7s ease-in-out infinite;
}
.planet-core {
    position: absolute;
    inset: 52px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 32% 22%,
        #fff 0,
        #dcd5ff 8%,
        #8f75ff 35%,
        #5e3ede 70%,
        #27135e 100%
    );
    box-shadow:
        inset -25px -28px 65px rgba(24, 8, 80, 0.45),
        inset 16px 16px 42px rgba(255, 255, 255, 0.45),
        0 60px 95px rgba(87, 54, 196, 0.38);
}
.planet-core:after {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: rotate(30deg);
}
.planet-core span,
.planet-core i {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}
.planet-core span {
    width: 42px;
    height: 19px;
    left: 55px;
    top: 66px;
    transform: rotate(-20deg);
}
.planet-core i {
    width: 60px;
    height: 27px;
    right: 34px;
    bottom: 56px;
    transform: rotate(16deg);
}
.planet-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(103, 78, 224, 0.24);
    border-radius: 50%;
    transform: rotateX(68deg) rotateZ(-18deg);
    box-shadow: 0 0 50px rgba(117, 86, 240, 0.12);
}
.ring-two {
    inset: 28px -35px;
    transform: rotateX(72deg) rotateZ(42deg);
    border-color: rgba(45, 212, 191, 0.25);
    animation: orbitSpin 12s linear infinite;
}
.planet-ring b {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.18),
        0 6px 16px rgba(40, 23, 90, 0.2);
}
.planet-ring b:nth-child(1) {
    left: 8%;
    top: 41%;
}
.planet-ring b:nth-child(2) {
    right: 14%;
    top: 19%;
    background: var(--brand-2);
}
.planet-ring b:nth-child(3) {
    right: 2%;
    bottom: 32%;
    background: var(--accent);
}
.nova-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(93, 67, 203, 0.15);
}
.orbit-a {
    width: 560px;
    height: 560px;
    right: -15px;
    top: -20px;
    animation: orbitSpin 28s linear infinite;
}
.orbit-b {
    width: 480px;
    height: 480px;
    right: 24px;
    top: 20px;
    animation: orbitSpin 22s linear infinite reverse;
}
.floating-social {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(15px);
    box-shadow: 0 18px 45px rgba(50, 40, 101, 0.16);
    animation: cardFloat 5s ease-in-out infinite;
}
.floating-social > span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #f0edff;
    color: var(--brand);
    font-weight: 900;
}
.floating-social b,
.floating-social small {
    display: block;
}
.floating-social b {
    font-size: 11px;
}
.floating-social small {
    font-size: 8px;
    color: #8d91a2;
}
.floating-social > i {
    font-style: normal;
    color: #16a27e;
    font-size: 9px;
    font-weight: 900;
    margin-left: 5px;
}
.social-instagram {
    right: 10px;
    top: 92px;
}
.social-youtube {
    left: 8px;
    top: 235px;
    animation-delay: -2s;
}
.social-youtube > span {
    background: #fff0f0;
    color: #ef4154;
}
.social-tiktok {
    right: 2px;
    top: 365px;
    animation-delay: -3s;
}
.social-tiktok > span {
    background: #e9fbf9;
    color: #13a592;
}
.nova-dashboard-card {
    position: absolute;
    z-index: 8;
    width: 500px;
    left: 35px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    box-shadow: 0 45px 100px rgba(43, 31, 102, 0.22);
    padding: 20px;
    transform: rotateX(3deg) rotateY(-4deg);
    transition: transform 0.2s;
}
.nova-card-top,
.nova-card-top > div,
.nova-chart-head,
.nova-card-stats {
    display: flex;
    align-items: center;
}
.nova-card-top {
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebe9f3;
}
.nova-card-top > div {
    gap: 9px;
}
.mini-logo {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), #9a8bff);
}
.mini-logo i {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
}
.nova-dots {
    color: #a0a3b0;
}
.nova-chart-head {
    justify-content: space-between;
    margin: 18px 0 6px;
}
.nova-chart-head small,
.nova-chart-head strong {
    display: block;
}
.nova-chart-head small {
    color: #9699a8;
    font-size: 9px;
}
.nova-chart-head strong {
    font-size: 21px;
    color: #191b2e;
}
.nova-chart-head > span {
    font-size: 9px;
    color: #8a8e9e;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f5f4f9;
}
.nova-chart {
    height: 145px;
    position: relative;
}
.nova-chart svg {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}
.chart-grid-lines {
    position: absolute;
    inset: 10px 0;
}
.chart-grid-lines i {
    display: block;
    height: 25%;
    border-top: 1px dashed #e7e5ef;
}
.nova-card-stats {
    justify-content: space-between;
    border-top: 1px solid #ebe9f3;
    padding-top: 14px;
}
.nova-card-stats span,
.nova-card-stats strong {
    display: block;
}
.nova-card-stats span {
    color: #979aa8;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nova-card-stats strong {
    margin-top: 3px;
    font-size: 14px;
}
.nova-success-toast {
    position: absolute;
    z-index: 10;
    left: 3px;
    bottom: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 11px 13px;
    box-shadow: 0 18px 45px rgba(39, 29, 84, 0.16);
    animation: cardFloat 4.5s ease-in-out infinite -1s;
}
.nova-success-toast > span {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: #e9faf5;
    color: #14a47d;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
}
.nova-success-toast b,
.nova-success-toast small {
    display: block;
}
.nova-success-toast b {
    font-size: 10px;
}
.nova-success-toast small {
    font-size: 8px;
    color: #8c90a0;
}
.nova-stat-ribbon {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #17192a;
    border-radius: 22px 22px 0 0;
    color: #fff;
    padding: 7px;
}
.nova-stat-ribbon article {
    padding: 23px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column-reverse;
}
.nova-stat-ribbon article:last-child {
    border-right: 0;
}
.nova-stat-ribbon span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8e94aa;
    margin-top: 4px;
}
.nova-stat-ribbon strong {
    font-size: 25px;
    letter-spacing: -0.04em;
}
.brand-marquee {
    overflow: hidden;
    background: linear-gradient(90deg, var(--brand), #8e69ff, var(--brand-2));
    color: #fff;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    min-width: max-content;
    animation: marqueeMove 25s linear infinite;
}
.marquee-track span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
}
.marquee-track i {
    font-style: normal;
    opacity: 0.65;
}
.nova-catalog {
    background: #fff;
}
.catalog-bento {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    grid-template-rows: auto auto;
    gap: 18px;
}
.catalog-feature-card,
.service-detail-demo,
.catalog-category-wall {
    border: 1px solid #ebe9f2;
    border-radius: 25px;
    background: #fbfaff;
    overflow: hidden;
}
.catalog-feature-card {
    grid-row: span 2;
    padding: 22px;
}
.catalog-search-demo {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid #e4e2ec;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(42, 37, 82, 0.06);
}
.catalog-search-demo > span {
    font-size: 20px;
    color: #85899a;
}
.catalog-search-demo small,
.catalog-search-demo strong {
    display: block;
}
.catalog-search-demo small {
    font-size: 8px;
    color: #979baa;
}
.catalog-search-demo strong {
    font-size: 12px;
    margin-top: 1px;
}
.catalog-search-demo kbd {
    margin-left: auto;
    padding: 4px 6px;
    border: 1px solid #ddd9e8;
    border-radius: 6px;
    background: #f6f4fa;
    color: #8c8f9e;
    font-size: 9px;
}
.catalog-list-demo {
    margin-top: 14px;
    display: grid;
    gap: 9px;
}
.catalog-list-demo a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: #fff;
    transition: 0.2s;
}
.catalog-list-demo a:hover {
    border-color: #dcd7f5;
    transform: translateX(4px);
}
.catalog-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #eeeaff, #d9d1ff);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 11px;
}
.catalog-list-demo strong,
.catalog-list-demo small {
    display: block;
}
.catalog-list-demo strong {
    font-size: 12px;
}
.catalog-list-demo small {
    font-size: 9px;
    color: #969aa9;
}
.catalog-list-demo a > i {
    margin-left: auto;
    color: var(--brand);
    font-style: normal;
}
.catalog-feature-caption {
    display: flex;
    gap: 16px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e7e4ef;
}
.catalog-feature-caption > span {
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand);
}
.catalog-feature-caption h3 {
    font-size: 21px;
    margin: 0;
}
.catalog-feature-caption p {
    font-size: 12px;
    color: #7d8191;
    margin: 5px 0 0;
}
.service-detail-demo {
    padding: 23px;
    background: linear-gradient(145deg, #17192a, #262845);
    color: #fff;
}
.detail-demo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9da2b8;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.detail-demo-top i {
    font-style: normal;
    color: #55dfba;
}
.service-detail-demo > h3 {
    font-size: 21px;
    margin: 22px 0 4px;
}
.service-detail-demo > p {
    font-size: 11px;
    color: #959bb0;
    margin: 0;
}
.detail-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin: 20px 0;
}
.detail-demo-grid div {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}
.detail-demo-grid span,
.detail-demo-grid strong {
    display: block;
}
.detail-demo-grid span {
    font-size: 8px;
    color: #858ca3;
    text-transform: uppercase;
}
.detail-demo-grid strong {
    font-size: 12px;
    margin-top: 2px;
}
.detail-progress > span {
    height: 5px;
    display: block;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.detail-progress i {
    height: 100%;
    display: block;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.detail-progress small {
    display: block;
    color: #858ca3;
    font-size: 8px;
    margin-top: 5px;
}
.service-detail-demo .catalog-feature-caption {
    border-color: rgba(255, 255, 255, 0.1);
}
.service-detail-demo .catalog-feature-caption p {
    color: #9299ae;
}
.catalog-category-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 8px;
    background: #fff;
}
.catalog-category-wall a {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 13px;
    border-radius: 12px;
}
.catalog-category-wall a:hover {
    background: #f5f2ff;
}
.catalog-category-wall span {
    font-size: 8px;
    color: #9b9eac;
}
.catalog-category-wall strong {
    font-size: 11px;
}
.catalog-category-wall small {
    color: var(--brand);
    font-weight: 800;
}
.catalog-category-wall i {
    font-style: normal;
    color: #9598a7;
}
.nova-workflow {
    position: relative;
    overflow: hidden;
    background: #121424;
    color: #fff;
}
.workflow-glow {
    position: absolute;
    width: 820px;
    height: 540px;
    left: 50%;
    top: -410px;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse,
        rgba(117, 86, 255, 0.44),
        transparent 68%
    );
}
.nova-section-head.light h2 {
    color: #fff;
}
.nova-section-head.light > p {
    color: #959bad;
}
.nova-section-head.light h2 em {
    color: #a995ff;
}
.workflow-stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.workflow-line {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 58px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--brand),
        var(--brand-2),
        transparent
    );
}
.workflow-line span {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    top: -4px;
    animation: flowDot 5s linear infinite;
    box-shadow: 0 0 20px var(--brand-2);
}
.workflow-stage article {
    position: relative;
    z-index: 2;
    min-height: 330px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.07),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(15px);
}
.workflow-stage article > b {
    font:
        800 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #767d94;
}
.workflow-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 28%, #5e5980, #25283d 65%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 27px;
    box-shadow:
        inset -10px -10px 25px rgba(0, 0, 0, 0.3),
        0 17px 40px rgba(0, 0, 0, 0.2);
}
.workflow-stage h3 {
    font-size: 17px;
    margin: 0 0 8px;
}
.workflow-stage p {
    font-size: 12px;
    color: #969caf;
}
.workflow-stage article > i {
    display: inline-block;
    margin-top: 13px;
    font-style: normal;
    color: var(--brand-2);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.nova-features {
    background: #f7f5fc;
}
.feature-bento {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 17px;
}
.feature-bento article {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e2ee;
    border-radius: 24px;
    background: #fff;
}
.feature-large {
    grid-row: span 2;
    min-height: 530px;
    padding: 36px;
}
.feature-copy {
    position: relative;
    z-index: 3;
    max-width: 480px;
}
.feature-copy > span,
.feature-number,
.feature-wide > div > span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--brand);
}
.feature-copy h3 {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin: 14px 0;
}
.feature-copy p {
    font-size: 14px;
    color: #75798a;
}
.feature-copy a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 900;
    margin-top: 10px;
}
.feature-copy a i {
    font-style: normal;
}
.payment-orbit {
    position: absolute;
    width: 380px;
    height: 380px;
    right: -65px;
    bottom: -85px;
    border-radius: 50%;
    border: 1px dashed #cfc9ef;
    animation: orbitSpin 25s linear infinite;
}
.payment-orbit > b {
    position: absolute;
    inset: 55px;
    border: 1px solid #ddd7f5;
    border-radius: 50%;
}
.payment-orbit > b:last-child {
    inset: 115px;
}
.pay-center {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    height: 92px;
    border-radius: 31px;
    background: linear-gradient(145deg, var(--brand), #9b86ff);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 35px;
    font-weight: 900;
    box-shadow: 0 28px 50px rgba(90, 64, 214, 0.35);
}
.pay-node {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: #fff;
    border: 1px solid #e3dff1;
    display: grid;
    place-items: center;
    color: var(--brand);
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 15px 35px rgba(53, 40, 111, 0.13);
}
.pay-node.n1 {
    top: 10px;
    left: 105px;
}
.pay-node.n2 {
    right: 18px;
    top: 115px;
}
.pay-node.n3 {
    bottom: 14px;
    right: 115px;
}
.pay-node.n4 {
    left: 10px;
    bottom: 120px;
}
.feature-small {
    min-height: 255px;
    padding: 25px;
}
.feature-small h3 {
    font-size: 24px;
    letter-spacing: -0.04em;
    margin: 13px 0 7px;
}
.feature-small p {
    font-size: 12px;
    color: #777c8e;
}
.feature-api {
    background: #161929 !important;
    color: #fff !important;
}
.feature-api p {
    color: #9299ad;
}
.feature-api pre {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 20px;
    margin: 0;
    padding: 13px;
    border-radius: 12px;
    background: #0c0e18;
    color: #b8c8ff;
    font:
        10px/1.6 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.support-bubbles {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 20px;
    height: 66px;
}
.support-bubbles i {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ece8ff, #c8bfff);
    border: 3px solid #fff;
}
.support-bubbles i:nth-child(2) {
    left: 26px;
    background: linear-gradient(135deg, #e5fbf7, #9fe8dc);
}
.support-bubbles i:nth-child(3) {
    left: 52px;
    background: linear-gradient(135deg, #fff2e7, #ffc28e);
}
.support-bubbles span {
    position: absolute;
    right: 0;
    top: 11px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f4f2fa;
    color: #656a7d;
    font-size: 9px;
}
.feature-wide {
    grid-column: 1/-1;
    min-height: 250px;
    padding: 35px;
    display: grid;
    grid-template-columns: 0.7fr 0.3fr;
    align-items: center;
}
.feature-wide > div:first-child {
    max-width: 600px;
}
.feature-wide h3 {
    font-size: 32px;
    margin: 13px 0 8px;
    letter-spacing: -0.05em;
}
.feature-wide p {
    font-size: 13px;
    color: #777c8e;
}
.cms-window {
    height: 170px;
    border: 1px solid #dad7e5;
    border-radius: 18px;
    background: #faf9fd;
    padding: 16px;
    box-shadow: 0 22px 55px rgba(36, 32, 74, 0.1);
    transform: rotate(3deg);
}
.cms-window > div {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #e3e0ea;
    padding-bottom: 11px;
}
.cms-window > div i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5d2dd;
}
.cms-window > span {
    display: block;
    height: 9px;
    border-radius: 5px;
    background: #e8e5ef;
    margin-top: 13px;
}
.cms-window > span:nth-of-type(1) {
    width: 55%;
    background: #cfc6ff;
}
.cms-window > span:nth-of-type(2) {
    width: 88%;
}
.cms-window > span:nth-of-type(3) {
    width: 70%;
}
.cms-window > b {
    display: block;
    width: 38%;
    height: 34px;
    border-radius: 9px;
    background: var(--brand);
    margin-top: 16px;
}
.nova-api-section {
    background: #fff;
}
.nova-api-grid {
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    align-items: center;
    gap: 80px;
}
.nova-api-copy h2 {
    font-size: 58px;
    line-height: 1;
    letter-spacing: -0.065em;
    margin: 15px 0;
}
.nova-api-copy > p {
    color: #727789;
    font-size: 15px;
}
.api-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin: 24px 0 30px;
}
.api-benefits span {
    font-size: 12px;
    font-weight: 700;
}
.api-benefits i {
    font-style: normal;
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    background: #e8faf6;
    color: #14a47d;
    margin-right: 5px;
}
.code-studio {
    border: 1px solid #24283a;
    border-radius: 24px;
    background: #111420;
    color: #dae2ff;
    overflow: hidden;
    box-shadow: 0 35px 85px rgba(19, 20, 38, 0.27);
    transform: perspective(1000px) rotateY(-4deg);
}
.code-studio-bar {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #262a3c;
    background: #181b29;
}
.code-studio-bar > span {
    display: flex;
    gap: 6px;
}
.code-studio-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6a73;
}
.code-studio-bar i:nth-child(2) {
    background: #ffc45b;
}
.code-studio-bar i:nth-child(3) {
    background: #4fd3a4;
}
.code-studio-bar strong {
    margin: auto;
    font-size: 10px;
}
.code-studio-bar small {
    font-size: 9px;
    color: #737b94;
}
.code-studio pre {
    margin: 0;
    padding: 35px;
    font:
        12px/1.8 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    overflow: auto;
}
.code-purple {
    color: #b392ff;
}
.code-green {
    color: #72dfbd;
}
.code-orange {
    color: #ffb96a;
}
.code-comment {
    color: #606982;
}
.code-result {
    display: flex;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #262a3c;
    background: #0c0f19;
    font-size: 9px;
}
.code-result span {
    color: #4fd3a4;
}
.nova-use-cases {
    background: #f7f5fc;
}
.use-case-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.use-case-slider article {
    min-height: 335px;
    border: 1px solid #e4e1ec;
    border-radius: 23px;
    background: #fff;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: 0.25s;
}
.use-case-slider article:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(41, 34, 92, 0.12);
}
.use-case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.use-case-top span {
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand);
}
.use-case-top i {
    font-style: normal;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f1eff7;
    color: #767a8b;
    font-size: 9px;
}
.use-case-slider h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 50px 0 20px;
    letter-spacing: -0.04em;
}
.use-case-slider ul {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
}
.use-case-slider li {
    padding: 8px 0;
    border-top: 1px solid #ebe9f1;
    color: #777b8d;
    font-size: 11px;
}
.nova-faq {
    background: #fff;
}
.nova-faq-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 100px;
}
.faq-intro {
    position: sticky;
    top: 130px;
    align-self: start;
}
.faq-intro h2 {
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -0.06em;
    margin: 15px 0;
}
.faq-intro p {
    font-size: 14px;
    color: #74798b;
}
.faq-intro a {
    display: inline-flex;
    gap: 7px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 900;
    color: var(--brand);
}
.faq-list {
    border-top: 1px solid #e5e2eb;
}
.faq-item {
    border-bottom: 1px solid #e5e2eb;
}
.faq-item button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 2px;
    cursor: pointer;
    text-align: left;
    font-weight: 800;
}
.faq-item button i {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd9e7;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    transition: 0.25s;
}
.faq-item > div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.faq-item > div p {
    margin: 0 45px 22px 0;
    color: #73788a;
    font-size: 13px;
}
.faq-item.open > div {
    max-height: 160px;
}
.faq-item.open button i {
    transform: rotate(45deg);
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.nova-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #694ef0 0, #8163ff 48%, #28bfa9 140%);
    color: #fff;
    padding: 115px 0;
}
.nova-cta-inner {
    position: relative;
    max-width: 850px;
}
.nova-cta-inner > span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: #ddd6ff;
}
.nova-cta h2 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.96;
    letter-spacing: -0.065em;
    margin: 18px 0;
}
.nova-cta p {
    max-width: 660px;
    margin: 0 auto 30px;
    color: #e3defd;
}
.nova-cta .hero-actions {
    justify-content: center;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.cta-orb-one {
    width: 520px;
    height: 520px;
    left: -200px;
    top: -280px;
}
.cta-orb-two {
    width: 620px;
    height: 620px;
    right: -250px;
    bottom: -430px;
}

/* Obsidian / Void home */
[data-theme="obsidian"] .public-body {
    background: #050810;
    color: #eef3ff;
}
.void-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 0;
    min-height: 900px;
    background:
        radial-gradient(
            circle at 72% 25%,
            rgba(36, 212, 190, 0.09),
            transparent 26%
        ),
        radial-gradient(
            circle at 40% 0,
            rgba(122, 90, 255, 0.16),
            transparent 30%
        ),
        #050810;
}
.void-grid-floor {
    position: absolute;
    left: -15%;
    right: -15%;
    height: 560px;
    bottom: -260px;
    background-image:
        linear-gradient(rgba(80, 231, 208, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80, 231, 208, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(500px) rotateX(63deg);
    mask-image: linear-gradient(to bottom, transparent, #000);
}
.void-radial {
    position: absolute;
    width: 850px;
    height: 850px;
    border: 1px solid rgba(113, 92, 255, 0.1);
    border-radius: 50%;
    right: -250px;
    top: -250px;
    box-shadow:
        0 0 0 90px rgba(113, 92, 255, 0.025),
        0 0 0 180px rgba(113, 92, 255, 0.018);
}
.void-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}
.terminal-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.15em;
    color: var(--brand-2);
}
.terminal-label span,
.terminal-label i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 15px var(--brand-2);
    font-style: normal;
}
.void-copy {
    padding-bottom: 80px;
}
.void-copy h1 {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(52px, 6vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    color: #f2f5ff;
    text-transform: uppercase;
    margin: 25px 0;
}
.void-copy > p {
    font-size: 16px;
    color: #8e9ab2;
    max-width: 640px;
}
.void-actions {
    margin-top: 32px;
}
.void-proof {
    display: flex;
    gap: 20px;
    margin-top: 42px;
    font:
        700 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #647089;
    letter-spacing: 0.12em;
}
.void-proof span {
    display: flex;
    align-items: center;
    gap: 7px;
}
.void-proof i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38dbac;
    box-shadow: 0 0 12px #38dbac;
}
.void-engine {
    height: 590px;
    position: relative;
}
.engine-halo {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(93, 225, 207, 0.15);
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%) rotateX(64deg);
}
.halo-one {
    width: 510px;
    height: 510px;
    animation: voidSpin 20s linear infinite;
}
.halo-two {
    width: 410px;
    height: 410px;
    border-style: dashed;
    animation: voidSpin 13s linear infinite reverse;
}
.halo-three {
    width: 300px;
    height: 300px;
    border-color: rgba(130, 99, 255, 0.22);
    animation: voidSpin 9s linear infinite;
}
.engine-sphere {
    position: absolute;
    width: 190px;
    height: 190px;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle at 34% 25%,
        #6cf5dc 0,
        #1b8a82 12%,
        #183c4f 44%,
        #0a1320 74%
    );
    box-shadow:
        inset -25px -30px 55px rgba(0, 0, 0, 0.62),
        inset 15px 15px 32px rgba(128, 255, 232, 0.2),
        0 0 75px rgba(40, 220, 191, 0.2);
    display: grid;
    place-items: center;
}
.engine-sphere > span {
    font:
        900 36px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #e7fff9;
    text-shadow: 0 0 25px rgba(64, 239, 207, 0.75);
}
.engine-sphere > i,
.engine-sphere > b {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(109, 244, 220, 0.23);
}
.engine-sphere > i {
    inset: 22px;
}
.engine-sphere > b {
    inset: 48px;
}
.engine-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(115, 232, 216, 0.16);
    background: rgba(8, 16, 27, 0.78);
    backdrop-filter: blur(14px);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.engine-node > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #101e2b;
    color: var(--brand-2);
    font-style: normal;
}
.engine-node span,
.engine-node strong {
    display: block;
}
.engine-node span {
    font-size: 7px;
    color: #5f718a;
    letter-spacing: 0.12em;
}
.engine-node strong {
    font-size: 9px;
    color: #bafced;
    margin-top: 3px;
}
.node-provider {
    left: 10px;
    top: 130px;
    animation: cardFloat 5s ease-in-out infinite;
}
.node-orders {
    right: 0;
    top: 225px;
    animation: cardFloat 5.7s ease-in-out infinite -2s;
}
.node-wallet {
    left: 40px;
    bottom: 110px;
    animation: cardFloat 4.8s ease-in-out infinite -1s;
}
.engine-data-card {
    position: absolute;
    width: 250px;
    right: 20px;
    bottom: 50px;
    border: 1px solid rgba(124, 100, 255, 0.22);
    background: rgba(14, 17, 30, 0.82);
    border-radius: 10px;
    padding: 13px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}
.engine-data-card > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.engine-data-card span {
    font:
        700 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #71809a;
    letter-spacing: 0.1em;
}
.engine-data-card b {
    font:
        900 14px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #b69dff;
}
.engine-data-card svg {
    height: 55px;
    margin-top: 8px;
}
.void-metric-bar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #20293a;
    border-bottom: 0;
    background: rgba(8, 13, 22, 0.75);
    backdrop-filter: blur(16px);
}
.void-metric-bar article {
    padding: 22px;
    border-right: 1px solid #20293a;
}
.void-metric-bar article:last-child {
    border-right: 0;
}
.void-metric-bar small,
.void-metric-bar strong,
.void-metric-bar span {
    display: block;
}
.void-metric-bar small {
    font:
        700 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #55647c;
    letter-spacing: 0.13em;
}
.void-metric-bar strong {
    font:
        900 25px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    margin: 12px 0 5px;
    color: #f2f5ff;
}
.void-metric-bar span {
    font-size: 9px;
    color: #758198;
}
.void-ticker {
    overflow: hidden;
    border-top: 1px solid #242c3d;
    border-bottom: 1px solid #242c3d;
    background: #0a0e17;
    white-space: nowrap;
}
.void-ticker > div {
    display: inline-flex;
    gap: 30px;
    align-items: center;
    min-width: max-content;
    padding: 14px 0;
    animation: marqueeMove 25s linear infinite;
}
.void-ticker span {
    font:
        800 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.15em;
    color: #6f7b91;
}
.void-ticker i {
    font-style: normal;
    color: var(--brand-2);
}
.void-section {
    padding: 125px 0;
    background: #060912;
}
.void-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 65px;
}
.void-heading > div > span {
    font:
        800 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.15em;
    color: var(--brand-2);
}
.void-heading h2 {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(45px, 5.4vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin: 18px 0 0;
    color: #eff3ff;
}
.void-heading > p {
    color: #7e8ba2;
    font-size: 14px;
    margin: 0;
}
.void-heading.centered {
    display: block;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 65px;
}
.void-heading.centered > p {
    max-width: 650px;
    margin: 20px auto 0;
}
.void-catalog {
    background: #080c14;
}
.matrix-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 45px;
    align-items: center;
}
.matrix-browser {
    border: 1px solid #242d3d;
    background: #0d121d;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
    transform: perspective(1100px) rotateY(3deg);
}
.matrix-toolbar {
    height: 45px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #242d3d;
    padding: 0 15px;
}
.matrix-toolbar > span {
    display: flex;
    gap: 5px;
}
.matrix-toolbar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #465168;
}
.matrix-toolbar strong {
    margin: auto;
    font:
        700 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #6d7a92;
}
.matrix-toolbar small {
    font:
        800 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #4fe0ba;
}
.matrix-body {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 390px;
}
.matrix-body aside {
    border-right: 1px solid #242d3d;
    padding: 10px;
}
.matrix-body aside a {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 7px;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    color: #68758c;
}
.matrix-body aside a.active,
.matrix-body aside a:hover {
    background: #151d2b;
    color: #dffcf6;
}
.matrix-body aside i {
    font:
        700 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #47566d;
    font-style: normal;
}
.matrix-body aside span {
    font:
        700 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.matrix-body aside b {
    font-size: 8px;
    color: var(--brand-2);
}
.matrix-body main {
    padding: 15px;
}
.matrix-search {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid #273143;
    background: #0a0f18;
    color: #536078;
    font:
        700 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.matrix-search > span {
    color: var(--brand-2);
    font-size: 15px;
}
.matrix-search kbd {
    margin-left: auto;
    border: 1px solid #2b3546;
    padding: 3px 5px;
}
.matrix-row {
    display: grid;
    grid-template-columns: 8px 1fr auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 16px 8px;
    border-bottom: 1px solid #202939;
}
.matrix-status {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3bdbad;
    box-shadow: 0 0 9px #3bdbad;
}
.matrix-row strong,
.matrix-row small {
    display: block;
}
.matrix-row strong {
    font:
        700 9px/1.2 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #d3d9e8;
}
.matrix-row small {
    font:
        500 7px/1.3 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #526078;
    margin-top: 4px;
}
.matrix-row > i {
    font:
        700 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #5a6980;
    font-style: normal;
}
.matrix-row > b {
    font:
        800 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #a991ff;
}
.matrix-copy h3 {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 32px;
    line-height: 1.07;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 21px 0;
}
.matrix-copy p {
    color: #7e8aa1;
    font-size: 13px;
}
.matrix-copy ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.matrix-copy li {
    font:
        700 9px/1.2 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #9ca7ba;
    padding: 8px 0;
    border-bottom: 1px solid #1e2635;
}
.matrix-copy li i {
    font-style: normal;
    color: var(--brand-2);
    margin-right: 8px;
}
.text-link {
    font:
        900 9px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand-2);
    letter-spacing: 0.1em;
}
.void-pipeline {
    position: relative;
    overflow: hidden;
    background: #050810;
}
.pipeline-beam {
    position: absolute;
    left: 0;
    right: 0;
    top: 52%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(45, 212, 191, 0.22),
        transparent
    );
}
.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #202938;
    border: 1px solid #202938;
}
.pipeline-grid article {
    position: relative;
    min-height: 390px;
    background: #080d16;
    padding: 22px;
}
.pipeline-grid article > span {
    font:
        800 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #536078;
}
.pipeline-grid h3 {
    font:
        800 18px/1.05 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    margin: 25px 0 10px;
}
.pipeline-grid p {
    font-size: 11px;
    color: #718096;
}
.pipeline-grid article > small {
    position: absolute;
    bottom: 20px;
    font:
        800 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand-2);
    letter-spacing: 0.1em;
}
.pipeline-visual {
    height: 145px;
    margin: 25px 0;
    border: 1px solid #202a3a;
    background: radial-gradient(circle, #111e2d, #080d16 70%);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.provider-visual b {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #345063;
    color: #7cf4d6;
    font:
        900 12px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.13);
}
.provider-visual i {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-2);
}
.provider-visual i:nth-child(1) {
    left: 24px;
    top: 25px;
}
.provider-visual i:nth-child(2) {
    right: 31px;
    top: 40px;
}
.provider-visual i:nth-child(3) {
    left: 40px;
    bottom: 30px;
}
.pricing-visual {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
}
.pricing-visual b,
.pricing-visual strong,
.pricing-visual i {
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #263547;
    background: #0c1520;
    color: #8d75ff;
    font:
        900 17px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    font-style: normal;
}
.pricing-visual i {
    color: #64748d;
}
.pricing-visual strong {
    color: var(--brand-2);
}
.order-visual i {
    position: absolute;
    height: 2px;
    background: #1f4b4b;
    left: 20px;
    right: 20px;
}
.order-visual i:nth-child(1) {
    top: 38px;
}
.order-visual i:nth-child(2) {
    top: 70px;
}
.order-visual i:nth-child(3) {
    top: 102px;
}
.order-visual b {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #193a3a;
    color: var(--brand-2);
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.14);
}
.status-visual b {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.33);
    color: var(--brand-2);
    font-size: 24px;
}
.status-visual i {
    position: absolute;
    inset: 28px;
    border: 1px dashed rgba(45, 212, 191, 0.2);
    border-radius: 50%;
    animation: orbitSpin 10s linear infinite;
}
.void-modules {
    background: #080c14;
}
.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}
.module-card {
    min-height: 365px;
    border: 1px solid #212a39;
    background: linear-gradient(145deg, #0d131e, #080d15);
    padding: 25px;
    position: relative;
    overflow: hidden;
}
.module-head {
    display: flex;
    justify-content: space-between;
    font:
        800 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #536179;
    letter-spacing: 0.12em;
}
.module-head i {
    font-style: normal;
    color: var(--brand-2);
}
.module-card h3 {
    font:
        800 28px/1.05 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    letter-spacing: -0.045em;
    max-width: 580px;
    margin: 42px 0 16px;
}
.module-card > p {
    font-size: 11px;
    color: #707e94;
    max-width: 570px;
}
.module-terminal {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    border: 1px solid #253044;
    background: #070b12;
    padding: 13px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    font:
        700 8px/1.3 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.module-terminal span {
    color: #6a7890;
}
.module-terminal strong {
    color: #5be2bc;
}
.ticket-mini {
    margin-top: 30px;
    border: 1px solid #263143;
    background: #0a101a;
    padding: 15px;
    display: flex;
    align-items: center;
}
.ticket-mini span,
.ticket-mini strong,
.ticket-mini small {
    display: block;
}
.ticket-mini span {
    font:
        800 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #ff9e68;
}
.ticket-mini strong {
    font-size: 11px;
    margin-top: 7px;
}
.ticket-mini small {
    font-size: 8px;
    color: #5f6d84;
    margin-top: 3px;
}
.ticket-mini > i {
    margin-left: auto;
    font:
        800 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    font-style: normal;
    color: var(--brand-2);
}
.module-switches {
    display: flex;
    gap: 8px;
    margin-top: 35px;
    flex-wrap: wrap;
}
.module-switches span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px;
    border: 1px solid #253043;
    background: #0a1019;
    font:
        700 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #78869d;
}
.module-switches i {
    width: 20px;
    height: 10px;
    border-radius: 10px;
    background: #263244;
    position: relative;
}
.module-switches i:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #657188;
    top: 2px;
    left: 2px;
}
.module-switches i.on {
    background: #18534a;
}
.module-switches i.on:after {
    left: 12px;
    background: #53e0ba;
}
.module-mass pre {
    margin: 30px 0 0;
    padding: 17px;
    border: 1px solid #263143;
    background: #070b12;
    color: #8ba3cb;
    font:
        9px/1.9 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.void-api {
    background: #050810;
    overflow: hidden;
}
.void-api-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 85px;
}
.void-api-copy h2 {
    font:
        800 55px/0.98 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    letter-spacing: -0.06em;
    margin: 22px 0;
}
.void-api-copy p {
    color: #78859c;
    font-size: 13px;
    margin-bottom: 28px;
}
.api-console-stack {
    position: relative;
    height: 440px;
    perspective: 1000px;
}
.api-console {
    position: absolute;
    border: 1px solid #283248;
    background: #0c111c;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}
.api-console.back {
    inset: 45px -15px 50px 65px;
    transform: rotateY(-8deg) rotateZ(3deg);
    opacity: 0.3;
    padding: 18px;
    font:
        700 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.api-console.mid {
    inset: 25px 25px 30px 25px;
    transform: rotateY(-5deg) rotateZ(-2deg);
    opacity: 0.5;
    padding: 18px;
    font:
        700 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.api-console.front {
    inset: 0 55px 0 0;
    background: #0b1019;
}
.console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #273143;
    font:
        800 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #728099;
}
.console-top i {
    font-style: normal;
    color: #56dcb7;
}
.api-console pre {
    margin: 0;
    padding: 40px;
    font:
        11px/2 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #64748c;
}
.api-console code span {
    color: #8d79f2;
}
.api-console code b {
    color: #a6e7d6;
}
.api-console code strong {
    color: #fff;
}
.console-foot {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 11px 18px;
    border-top: 1px solid #273143;
    display: flex;
    gap: 20px;
    font:
        700 7px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #536179;
}
.void-roles {
    background: #080c14;
}
.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #202938;
    border: 1px solid #202938;
}
.role-grid article {
    position: relative;
    min-height: 330px;
    background: #0a0f18;
    padding: 25px;
}
.role-grid article > span {
    font:
        800 8px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--brand-2);
    letter-spacing: 0.13em;
}
.role-grid h3 {
    font:
        800 25px/1.08 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    margin: 80px 0 15px;
}
.role-grid p {
    font-size: 11px;
    color: #738097;
}
.role-grid article > i {
    position: absolute;
    right: 18px;
    bottom: 14px;
    font:
        900 55px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: #111926;
    font-style: normal;
}
.void-faq {
    background: #050810;
}
.void-faq-grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 100px;
}
.void-faq-grid > div:first-child h2 {
    font:
        800 55px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    margin: 22px 0;
}
.void-faq-grid > div:first-child p {
    font-size: 13px;
    color: #748198;
}
.dark-faq {
    border-color: #263042;
}
.dark-faq .faq-item {
    border-color: #263042;
}
.dark-faq .faq-item button i {
    border-color: #354157;
}
.dark-faq .faq-item > div p {
    color: #7b889e;
}
.void-final {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 130px 0;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(44, 212, 190, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 50% 20%,
            rgba(125, 91, 255, 0.17),
            transparent 32%
        ),
        #070a12;
}
.void-final-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(90, 221, 204, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 221, 204, 0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: radial-gradient(circle, #000, transparent 65%);
}
.void-final .container {
    position: relative;
}
.void-final h2 {
    font:
        800 clamp(52px, 7vw, 92px)/0.92 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    text-transform: uppercase;
    letter-spacing: -0.07em;
    margin: 25px 0;
}
.void-final h2 em {
    font-family: Georgia, serif;
    text-transform: none;
    font-weight: 400;
    color: var(--brand-2);
}
.void-final p {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #8390a6;
}
.void-final .hero-actions {
    justify-content: center;
}

@keyframes novaFloat {
    0%,
    100% {
        transform: translateY(0) rotateZ(-2deg);
    }
    50% {
        transform: translateY(-17px) rotateZ(2deg);
    }
}
@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes voidSpin {
    from {
        transform: translate(-50%, -50%) rotateX(64deg) rotateZ(0);
    }
    to {
        transform: translate(-50%, -50%) rotateX(64deg) rotateZ(360deg);
    }
}
@keyframes flowDot {
    from {
        left: 0;
    }
    to {
        left: 100%;
    }
}
@keyframes marqueeMove {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .nova-hero-grid,
    .void-hero-grid {
        grid-template-columns: 1fr;
    }
    .nova-copy,
    .void-copy {
        padding-bottom: 25px;
    }
    .nova-visual,
    .void-engine {
        max-width: 720px;
        width: 100%;
        margin: auto;
    }
    .nova-hero {
        padding-top: 140px;
    }
    .void-hero {
        padding-top: 140px;
    }
    .wallet-layout {
        grid-template-columns: 1fr;
    }
    .wallet-checkout-card {
        position: relative;
        top: auto;
    }
    .nova-section-head,
    .void-heading {
        gap: 35px;
    }
    .matrix-layout,
    .nova-api-grid,
    .void-api-layout {
        grid-template-columns: 1fr;
    }
    .matrix-copy {
        max-width: 680px;
    }
    .code-studio {
        transform: none;
    }
    .payment-detail-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .public-menu-toggle {
        display: block;
    }
    .public-nav-menu {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: color-mix(in srgb, var(--surface) 97%, transparent);
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(20px);
    }
    .public-nav-menu.open {
        display: flex;
    }
    .nav-links,
    .nav-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }
    .nav-links {
        margin: 0;
    }
    .nav-links a {
        padding: 10px;
    }
    .nav-links a:after {
        display: none;
    }
    .nav-actions {
        border-top: 1px solid var(--line);
        padding-top: 13px;
    }
    .theme-orbit-button {
        width: 100%;
        height: auto;
        border-radius: 11px;
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 9px;
    }
    .theme-orbit-button i {
        display: block;
        font-style: normal;
    }
    .premium-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-column {
        grid-column: 1/-1;
    }
    .nova-stat-ribbon,
    .void-metric-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .nova-stat-ribbon article:nth-child(2),
    .void-metric-bar article:nth-child(2) {
        border-right: 0;
    }
    .nova-stat-ribbon article:nth-child(-n + 2),
    .void-metric-bar article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nova-section-head,
    .void-heading {
        display: block;
    }
    .nova-section-head > p,
    .void-heading > p {
        max-width: 680px;
        margin-top: 20px;
    }
    .catalog-bento,
    .feature-bento,
    .nova-faq-grid,
    .void-faq-grid {
        grid-template-columns: 1fr;
    }
    .catalog-feature-card {
        grid-row: auto;
    }
    .feature-large {
        grid-row: auto;
    }
    .feature-wide {
        grid-column: auto;
    }
    .workflow-stage,
    .pipeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-line {
        display: none;
    }
    .use-case-slider,
    .role-grid {
        grid-template-columns: 1fr;
    }
    .faq-intro {
        position: static;
    }
    .void-faq-grid {
        gap: 45px;
    }
    .wallet-security-grid {
        grid-template-columns: 1fr;
    }
    .wallet-security-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .wallet-security-grid article:last-child {
        border-bottom: 0;
    }
    .four-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .container {
        width: min(100% - 28px, 1180px);
    }
    .nova-hero,
    .void-hero {
        padding-top: 120px;
    }
    .nova-copy h1,
    .void-copy h1 {
        font-size: 48px;
    }
    .nova-copy > p,
    .void-copy > p {
        font-size: 15px;
    }
    .nova-actions,
    .void-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .nova-play-link {
        margin: 0;
    }
    .nova-visual {
        height: 510px;
        transform: scale(0.78);
        transform-origin: top left;
        width: 128%;
        margin-bottom: -90px;
    }
    .void-engine {
        height: 480px;
        transform: scale(0.82);
        transform-origin: top center;
        width: 122%;
        margin-left: -11%;
    }
    .nova-dashboard-card {
        width: 450px;
    }
    .nova-planet {
        right: 0;
    }
    .nova-success-toast {
        left: -8px;
    }
    .nova-stat-ribbon,
    .void-metric-bar {
        grid-template-columns: 1fr 1fr;
    }
    .brand-marquee,
    .void-ticker {
        font-size: 8px;
    }
    .nova-section,
    .void-section {
        padding: 85px 0;
    }
    .nova-section-head h2,
    .void-heading h2 {
        font-size: 42px;
    }
    .catalog-bento,
    .feature-bento {
        display: block;
    }
    .catalog-bento > *,
    .feature-bento > * {
        margin-bottom: 14px;
    }
    .catalog-category-wall {
        grid-template-columns: 1fr;
    }
    .workflow-stage,
    .pipeline-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }
    .feature-wide {
        display: block;
    }
    .cms-window {
        margin-top: 25px;
    }
    .payment-orbit {
        opacity: 0.45;
    }
    .nova-api-copy h2,
    .void-api-copy h2,
    .faq-intro h2,
    .void-faq-grid > div:first-child h2 {
        font-size: 43px;
    }
    .api-benefits {
        grid-template-columns: 1fr;
    }
    .code-studio pre,
    .api-console pre {
        padding: 22px;
        font-size: 9px;
    }
    .use-case-slider {
        grid-template-columns: 1fr;
    }
    .matrix-browser {
        transform: none;
    }
    .matrix-body {
        grid-template-columns: 1fr;
    }
    .matrix-body aside {
        display: flex;
        overflow: auto;
        border-right: 0;
        border-bottom: 1px solid #242d3d;
    }
    .matrix-body aside a {
        min-width: 150px;
    }
    .matrix-row {
        grid-template-columns: 8px 1fr auto;
    }
    .matrix-row > i {
        display: none;
    }
    .void-api-layout {
        gap: 35px;
    }
    .api-console-stack {
        height: 350px;
    }
    .api-console.front {
        right: 0;
    }
    .premium-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-brand-column {
        grid-column: auto;
    }
    .footer-topline {
        display: none;
    }
    .premium-footer .footer-grid {
        padding-top: 55px;
    }
    .premium-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .gateway-choice-grid {
        grid-template-columns: 1fr;
    }
    .wallet-page-title {
        align-items: flex-start;
    }
    .balance-pill {
        width: 100%;
    }
    .selected-gateway-summary {
        flex-wrap: wrap;
    }
    .environment-tag {
        margin-left: 56px;
    }
    .payment-filter-head {
        align-items: flex-start;
    }
    .inline-filters {
        width: 100%;
    }
    .inline-filters .form-control,
    .inline-filters input {
        width: 100% !important;
    }
    .detail-list {
        grid-template-columns: 1fr;
    }
    .detail-list > div {
        border-right: 0;
    }
    .detail-list > div:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Premium authentication */
.premium-auth-body {
    background: var(--bg);
}
.premium-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(460px, 1.05fr) minmax(500px, 0.95fr);
}
.premium-auth-art {
    --auth-background: none;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background-image:
        linear-gradient(
            145deg,
            rgba(9, 12, 28, 0.9),
            rgba(87, 55, 205, 0.78),
            rgba(23, 164, 148, 0.66)
        ),
        var(--auth-background);
    background-size: cover;
    background-position: center;
}
.auth-art-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(255, 255, 255, 0.17),
            transparent 23%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(45, 212, 191, 0.2),
            transparent 28%
        );
}
.auth-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, transparent, #000 40%, #000);
}
.auth-orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);
}
.auth-orb-a {
    width: 430px;
    height: 430px;
    right: -170px;
    top: 70px;
    animation: orbitSpin 30s linear infinite;
}
.auth-orb-b {
    width: 270px;
    height: 270px;
    left: -120px;
    bottom: 90px;
}
.auth-brand,
.auth-art-copy,
.auth-copyright {
    position: relative;
    z-index: 2;
}
.auth-brand {
    color: #fff;
}
.auth-art-copy {
    max-width: 720px;
}
.auth-kicker {
    font:
        800 10px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: 0.15em;
    color: #d8fdf6;
    display: flex;
    align-items: center;
    gap: 9px;
}
.auth-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5af0c8;
    box-shadow: 0 0 13px #5af0c8;
}
.auth-art-copy h1 {
    font-size: clamp(48px, 5.3vw, 78px);
    line-height: 0.97;
    letter-spacing: -0.07em;
    margin: 26px 0;
}
.auth-art-copy > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
}
.auth-feature-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}
.auth-feature-row span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    font-size: 10px;
}
.auth-feature-row b {
    color: #62edca;
    margin-right: 6px;
}
.auth-copyright {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}
.premium-auth-panel {
    display: grid;
    place-items: center;
    padding: 55px;
    background: linear-gradient(
        145deg,
        var(--surface),
        color-mix(in srgb, var(--brand) 3%, var(--surface))
    );
}
.premium-auth-card {
    width: min(500px, 100%);
}
.auth-mobile-logo {
    display: none;
    margin-bottom: 35px;
}
.auth-card-head > span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    color: var(--brand);
}
.auth-card-head h2 {
    font-size: 38px;
    line-height: 1.05;
    margin: 10px 0;
    letter-spacing: -0.055em;
}
.auth-card-head p {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 28px;
}
.premium-auth-form .form-group {
    margin-bottom: 15px;
}
.auth-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    transition: 0.2s;
    overflow: hidden;
}
.auth-input:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.auth-input > span {
    width: 45px;
    text-align: center;
    color: var(--brand);
    font-weight: 900;
}
.auth-input input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    outline: 0;
    padding: 13px 4px;
}
.auth-input button {
    border: 0;
    background: transparent;
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    padding: 13px;
    cursor: pointer;
}
.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 17px 0;
    color: var(--muted);
    font-size: 12px;
}
.auth-submit {
    padding: 15px;
    margin-top: 18px;
}
.auth-switch {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin: 22px 0;
}
.auth-switch a {
    color: var(--brand);
    font-weight: 900;
}
.auth-security-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.auth-security-note > span {
    width: 21px;
    height: 21px;
    border-radius: 7px;
    background: rgba(18, 138, 101, 0.1);
    color: var(--success);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 10px;
}
.auth-security-note p {
    font-size: 10px;
    color: var(--muted);
    margin: 1px 0 0;
}
.g-recaptcha {
    margin: 16px 0;
    transform-origin: left top;
}
@media (max-width: 980px) {
    .premium-auth-shell {
        grid-template-columns: 1fr;
    }
    .premium-auth-art {
        display: none;
    }
    .premium-auth-panel {
        min-height: 100vh;
        padding: 35px 20px;
    }
    .auth-mobile-logo {
        display: flex;
    }
    .premium-auth-card {
        max-width: 540px;
    }
}
@media (max-width: 520px) {
    .auth-card-head h2 {
        font-size: 32px;
    }
    .register-card .form-row {
        grid-template-columns: 1fr;
    }
    .g-recaptcha {
        transform: scale(0.88);
        width: 270px;
    }
}

/* Payment operations and manual deposit review */
.page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.manual-gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 18px;
}
.manual-gateway-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.manual-gateway-card:before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: var(--line);
}
.manual-gateway-card.enabled:before {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.manual-gateway-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
    box-shadow: 0 22px 60px rgba(20, 27, 50, 0.1);
}
.manual-gateway-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
}
.manual-gateway-head h3 {
    margin: 3px 0 0;
    font-size: 19px;
}
.manual-gateway-head small {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.manual-gateway-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 20px 0;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
}
.manual-gateway-stats > div {
    background: var(--surface-2);
    padding: 12px;
    display: grid;
    gap: 4px;
}
.manual-gateway-stats span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.manual-gateway-stats strong {
    font-size: 12px;
}
.manual-gateway-card p {
    color: var(--muted);
    min-height: 42px;
}
.manual-gateway-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}
.manual-gateway-actions form {
    margin-left: auto;
}
.manual-gateway-form .settings-card-grid {
    align-items: start;
}
.media-preview.logo-preview {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    margin-bottom: 12px;
}
.media-preview.logo-preview img {
    max-width: 180px;
    max-height: 70px;
    object-fit: contain;
}
.payment-table td:nth-child(3) > span:last-child {
    display: inline-flex;
    vertical-align: middle;
    flex-direction: column;
    margin-left: 7px;
}
.review-needed {
    color: var(--warning, #b7791f);
    font-weight: 800;
}
.manual-review-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    margin-bottom: 14px;
}
.manual-review-method > div {
    display: grid;
}
.manual-review-method small {
    color: var(--muted);
}
.review-information {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    margin: 12px 0;
}
.review-information > span {
    display: block;
    margin-bottom: 7px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--muted);
}
.review-information pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    color: var(--text);
    font:
        12px/1.65 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}
.review-information p {
    margin: 0;
    color: var(--text);
    white-space: pre-wrap;
}
.manual-review-panel {
    margin-top: 20px;
    border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
    overflow: hidden;
}
.manual-review-panel > .panel-head {
    background: linear-gradient(120deg, var(--brand-soft), transparent);
}
.manual-review-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.manual-review-actions form {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-2);
}
.manual-review-actions textarea {
    margin-bottom: 12px;
}
.review-outcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.review-outcome > div {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
    display: grid;
    gap: 5px;
}
.review-outcome span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.review-outcome .wide {
    grid-column: 1/-1;
}
.review-outcome p {
    margin: 0;
    white-space: pre-wrap;
}
.deposit-history-panel {
    margin-top: 22px;
}
.payment-history-table td:nth-child(2) > strong {
    display: block;
}
.payment-history-table .badge + small {
    margin-top: 4px;
}
.manual-payment-block {
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
    border-radius: 16px;
    background: linear-gradient(140deg, var(--brand-soft), var(--surface));
    margin: 15px 0;
}
.manual-payment-details {
    margin-bottom: 15px;
}
.manual-payment-details > span {
    display: block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 7px;
}
.manual-payment-details pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font:
        12px/1.65 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    color: var(--text);
}
.manual-proof-drop {
    min-height: 96px;
}
.manual-proof-drop input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.manual-proof-drop span {
    display: grid;
    gap: 4px;
    text-align: center;
}
.manual-proof-drop small {
    color: var(--muted);
}

@media (max-width: 760px) {
    .manual-review-actions,
    .review-outcome {
        grid-template-columns: 1fr;
    }
    .review-outcome .wide {
        grid-column: auto;
    }
    .manual-gateway-stats {
        grid-template-columns: 1fr;
    }
    .manual-gateway-stats > div {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .page-actions {
        width: 100%;
    }
    .page-actions .btn {
        flex: 1;
    }
    .manual-gateway-head {
        grid-template-columns: auto 1fr;
    }
    .manual-gateway-head > .badge {
        grid-column: 2;
        justify-self: start;
    }
}

/* ========================================================================
   OrbitMint 1.2.1 panel polish
   Scrollable navigation, settings workspace, gateways, and service picker
   ======================================================================== */

.panel-body {
    min-width: 320px;
    overflow-x: hidden;
}

.sidebar {
    height: 100dvh;
    padding: 0;
    overflow: hidden;
}

.sidebar-header {
    flex: 0 0 auto;
    padding: 23px 17px 9px;
}

.sidebar-header .brand,
.sidebar .brand {
    min-height: 50px;
    margin: 0;
    padding: 0 10px;
}

.sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 3px 13px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: color-mix(in srgb, var(--brand) 35%, transparent)
        transparent;
    scrollbar-width: thin;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--brand) 28%, transparent);
    border-radius: 999px;
}

.sidebar-scroll .nav-section:first-child {
    padding-top: 13px;
}

.sidebar-footer {
    flex: 0 0 auto;
    padding: 14px 13px 17px;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.sidebar-footer .user-chip {
    width: 100%;
}

.user-chip-copy {
    min-width: 0;
}

.user-chip-copy strong,
.user-chip-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chip-copy strong {
    font-size: 13px;
}

.user-chip-copy span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.side-link {
    min-height: 43px;
}

.side-link > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: none;
    border: 0;
    background: rgba(8, 13, 27, 0.45);
    backdrop-filter: blur(3px);
}

.topbar-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted);
    font-size: 14px;
}

.topbar-crumb b {
    color: color-mix(in srgb, var(--muted) 55%, transparent);
    font-weight: 500;
}

.topbar-crumb strong {
    overflow: hidden;
    color: var(--text);
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Settings workspace */

.settings-save-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 11px;
    box-shadow: 0 8px 24px rgba(25, 36, 58, 0.05);
}

.settings-save-state > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--warning) 12%, transparent);
}

.settings-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.settings-nav {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 20px 55px rgba(25, 36, 58, 0.07);
}

.settings-tab {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    cursor: pointer;
    transition: 0.2s ease;
}

.settings-tab:hover {
    border-color: var(--line);
    background: var(--surface-2);
    color: var(--text);
}

.settings-tab.active {
    border-color: color-mix(in srgb, var(--brand) 25%, var(--line));
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--brand) 13%, var(--surface)),
        color-mix(in srgb, var(--brand-2) 7%, var(--surface))
    );
    color: var(--brand);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 10%, transparent);
}

.settings-tab i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.settings-tab.active i {
    border-color: color-mix(in srgb, var(--brand) 25%, var(--line));
    color: var(--brand);
}

.settings-tab > span {
    min-width: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 850;
}

.settings-tab small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
}

.settings-content {
    min-width: 0;
}

.settings-pane {
    display: none;
    animation: settings-pane-in 0.2s ease;
}

.settings-pane.active {
    display: block;
}

@keyframes settings-pane-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.settings-pane-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
    padding: 0 2px;
}

.settings-pane-head span {
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.settings-pane-head h2 {
    margin: 5px 0 4px;
    font-size: 24px;
    letter-spacing: -0.035em;
}

.settings-pane-head p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.settings-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.settings-card {
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: var(--surface);
    box-shadow: 0 14px 45px rgba(25, 36, 58, 0.055);
}

.settings-card.wide {
    grid-column: 1 / -1;
}

.settings-card h3 {
    margin: 0 0 17px;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.settings-card.danger-soft {
    border-color: color-mix(in srgb, var(--danger) 22%, var(--line));
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--danger) 4%, var(--surface)),
        var(--surface)
    );
}

.settings-card .form-group:last-child {
    margin-bottom: 0;
}

.media-setting-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.media-setting-head h3 {
    margin-bottom: 4px;
}

.media-setting-head p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.media-preview {
    flex: 0 0 auto;
    display: grid;
    width: 72px;
    height: 56px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-2);
    color: var(--brand);
    font-weight: 900;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.media-preview.favicon-preview {
    width: 50px;
    height: 50px;
}

.optional {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.color-picker-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.color-picker-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.color-picker-row input[type="color"] {
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.switch-line {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    cursor: pointer;
}

.switch-line + .switch-line {
    margin-top: 10px;
}

.switch-line input {
    flex: 0 0 auto;
    width: 38px;
    height: 21px;
    margin: 1px 0 0;
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--muted) 14%, var(--surface));
    cursor: pointer;
    transition: 0.2s;
}

.switch-line input::before {
    display: block;
    width: 15px;
    height: 15px;
    margin: 2px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    content: "";
    transition: 0.2s;
}

.switch-line input:checked {
    border-color: var(--brand);
    background: var(--brand);
}

.switch-line input:checked::before {
    transform: translateX(17px);
}

.switch-line strong,
.switch-line small {
    display: block;
}

.switch-line strong {
    font-size: 12px;
}

.switch-line small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 70px;
}

.password-field > button {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 6px 9px;
    border: 0;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    transform: translateY(-50%);
    cursor: pointer;
}

.help-box {
    margin: 0;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 5%, var(--surface));
    color: var(--muted);
    font-size: 11px;
}

.settings-sticky-save {
    position: sticky;
    bottom: 16px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 14px 16px 14px 19px;
    border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 93%, transparent);
    box-shadow: 0 24px 70px rgba(25, 36, 58, 0.17);
    backdrop-filter: blur(18px);
}

.settings-sticky-save strong,
.settings-sticky-save span {
    display: block;
}

.settings-sticky-save strong {
    font-size: 13px;
}

.settings-sticky-save > div > span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

/* Payment gateway administration */

.gateway-page-title {
    align-items: center;
}

.gateway-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 36px rgba(25, 36, 58, 0.07);
}

.gateway-summary > div {
    min-width: 105px;
    padding: 13px 16px;
    text-align: center;
}

.gateway-summary > div + div {
    border-left: 1px solid var(--line);
}

.gateway-summary strong,
.gateway-summary span {
    display: block;
}

.gateway-summary strong {
    font-size: 20px;
}

.gateway-summary span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gateway-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--brand) 6%, var(--surface)),
        var(--surface)
    );
}

.gateway-notice-icon {
    flex: 0 0 auto;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.gateway-notice strong {
    font-size: 13px;
}

.gateway-notice p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.gateway-accordion {
    display: grid;
    gap: 14px;
}

.gateway-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 15px 48px rgba(25, 36, 58, 0.065);
    transition: 0.2s ease;
}

.gateway-card.enabled {
    border-color: color-mix(in srgb, var(--success) 27%, var(--line));
}

.gateway-card.open {
    box-shadow: 0 24px 70px rgba(25, 36, 58, 0.12);
}

.gateway-card-summary {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 15px;
    width: 100%;
    padding: 17px 19px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.gateway-card-summary:hover {
    background: color-mix(in srgb, var(--brand) 3%, var(--surface));
}

.gateway-brand-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--brand);
    font-size: 14px;
    font-weight: 950;
}

.gateway-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.gateway-card-title {
    min-width: 0;
}

.gateway-card-title > span {
    display: block;
    color: var(--brand);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gateway-card-title h2 {
    margin: 3px 0 2px;
    font-size: 17px;
    letter-spacing: -0.025em;
}

.gateway-card-title p {
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gateway-card-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.gateway-chevron {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    transition: 0.2s;
}

.gateway-card.open .gateway-chevron {
    transform: rotate(180deg);
}

.gateway-card-body {
    display: none;
    border-top: 1px solid var(--line);
}

.gateway-card.open .gateway-card-body {
    display: block;
}

.gateway-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 22px;
    padding: 22px;
}

.gateway-form-main {
    min-width: 0;
}

.gateway-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin: 9px 0 13px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.gateway-section-head:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.gateway-section-head span {
    color: var(--brand);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gateway-section-head h3 {
    margin: 3px 0 0;
    font-size: 15px;
}

.gateway-section-head a {
    color: var(--brand);
    font-size: 10px;
    font-weight: 800;
}

.gateway-toggle-row {
    margin-top: 13px;
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.credential-field {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-2);
}

.credential-field.is-public {
    border-left: 3px solid var(--brand-2);
}

.credential-field.is-secret {
    border-left: 3px solid var(--brand);
}

.credential-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.credential-label > label {
    font-size: 11px;
    font-weight: 850;
}

.credential-label > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
}

.required-pill,
.optional-pill,
.saved-pill,
.missing-pill,
.encrypted-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.required-pill,
.missing-pill {
    color: var(--danger);
}

.optional-pill {
    color: var(--muted);
}

.saved-pill,
.encrypted-label {
    color: var(--success);
}

.field-help {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.45;
}

.clear-secret {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 9px;
    cursor: pointer;
}

.currency-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.currency-check-grid label {
    position: relative;
    cursor: pointer;
}

.currency-check-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.currency-check-grid span {
    display: block;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
}

.currency-check-grid input:checked + span {
    border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
    background: var(--brand-soft);
    color: var(--brand);
}

.gateway-form-side {
    display: grid;
    align-content: start;
    gap: 11px;
}

.gateway-side-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}

.gateway-side-card > span,
.gateway-side-card > strong,
.gateway-side-card > code,
.gateway-side-card > p {
    display: block;
}

.gateway-side-card > span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gateway-side-card > strong {
    margin-top: 5px;
    font-size: 13px;
}

.gateway-side-card > code {
    max-height: 78px;
    margin-top: 7px;
    overflow: auto;
    color: var(--text);
    font-size: 9px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.gateway-side-card > p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.gateway-side-card > button {
    margin-top: 9px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--brand);
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.gateway-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.gateway-form-footer strong,
.gateway-form-footer span {
    display: block;
}

.gateway-form-footer strong {
    font-size: 12px;
}

.gateway-form-footer span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

/* New-order service combobox */

.order-workspace {
    max-width: 940px;
}

.order-panel-head > div > span {
    color: var(--brand);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.order-panel-head h3 {
    margin: 3px 0 0;
}

.service-combobox {
    position: relative;
}

.service-combobox-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: 0.2s;
}

.service-combobox-trigger:hover:not(:disabled),
.service-combobox-trigger[aria-expanded="true"] {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}

.service-combobox-trigger:disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.72;
}

.service-combobox-trigger span {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-combobox-trigger i {
    flex: 0 0 auto;
    color: var(--muted);
    font-style: normal;
    transition: 0.2s;
}

.service-combobox-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-combobox-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 35;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(25, 36, 58, 0.2);
}

.service-search-wrap {
    position: relative;
    padding: 11px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
}

.service-search-wrap > span {
    position: absolute;
    top: 50%;
    left: 25px;
    color: var(--muted);
    transform: translateY(-50%);
}

.service-search-wrap input {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px 9px 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: 0;
    background: var(--surface);
    color: var(--text);
}

.service-search-wrap input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.service-combobox-list {
    max-height: 330px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.service-combobox-option {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.service-combobox-option:last-child {
    border-bottom: 0;
}

.service-combobox-option:hover,
.service-combobox-option[aria-selected="true"] {
    background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}

.service-option-id {
    align-self: center;
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
}

.service-option-copy {
    min-width: 0;
}

.service-option-copy strong,
.service-option-copy small {
    display: block;
}

.service-option-copy strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-option-copy small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
}

.service-option-check {
    align-self: center;
    color: var(--brand);
    opacity: 0;
}

.service-combobox-option[aria-selected="true"] .service-option-check {
    opacity: 1;
}

.service-combobox-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 115px;
    padding: 20px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.service-combobox-empty.is-error {
    color: var(--danger);
}

.service-combobox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 9px;
}

.service-combobox-footer small {
    text-align: right;
}

.field-error {
    margin: 7px 0 0;
    color: var(--danger);
    font-size: 11px;
    font-weight: 700;
}

.order-submit {
    margin-top: 18px;
}

@media (max-width: 1180px) {
    .settings-shell {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .gateway-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gateway-form-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .settings-shell {
        display: block;
    }

    .settings-nav {
        position: sticky;
        top: 76px;
        z-index: 18;
        display: flex;
        margin-bottom: 18px;
        overflow-x: auto;
        border-radius: 15px;
    }

    .settings-tab {
        flex: 0 0 200px;
    }

    .credential-grid,
    .four-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .sidebar.open + .sidebar-overlay,
    .sidebar-is-open .sidebar-overlay {
        display: block;
    }

    .sidebar {
        z-index: 70;
    }

    .sidebar-is-open {
        overflow: hidden;
    }

    .sidebar-scroll {
        padding-bottom: 30px;
    }

    .topbar-crumb > span,
    .topbar-crumb > b {
        display: none;
    }

    .settings-save-state {
        width: 100%;
        border-radius: 13px;
    }

    .settings-card-grid,
    .credential-grid,
    .four-cols,
    .gateway-form-side {
        grid-template-columns: 1fr;
    }

    .settings-card.wide {
        grid-column: auto;
    }

    .settings-sticky-save,
    .gateway-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-sticky-save .btn,
    .gateway-form-footer .btn {
        width: 100%;
    }

    .gateway-card-summary {
        grid-template-columns: 43px minmax(0, 1fr);
    }

    .gateway-brand-icon {
        width: 43px;
        height: 43px;
    }

    .gateway-card-status {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 53px;
    }

    .gateway-form-grid {
        padding: 16px;
    }

    .service-combobox-menu {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-height: min(72vh, 620px);
    }

    .service-combobox-list {
        max-height: calc(min(72vh, 620px) - 122px);
    }

    .service-combobox-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-combobox-footer small {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .color-picker-row {
        grid-template-columns: 1fr;
    }

    .gateway-summary {
        width: 100%;
    }

    .gateway-card-status .badge:nth-child(2) {
        display: none;
    }
}


/* Unread ticket badge */
.side-link { position: relative; }
.nav-unread-badge {
    margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #ef4444; color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); animation: orbitmint-badge-pulse 1.8s infinite;
}
@keyframes orbitmint-badge-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@media (prefers-reduced-motion: reduce) { .nav-unread-badge { animation: none; } }

/* Local Bootstrap-compatible rich text editor */
.rich-editor { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 90%, var(--brand) 10%); }
.rich-editor-toolbar button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.rich-editor-toolbar button:hover { border-color: var(--brand); color: var(--brand); }
.rich-editor-surface { min-height: 360px; padding: 18px; outline: none; line-height: 1.7; overflow: auto; }
.rich-editor-surface h2 { margin: 1.2em 0 .5em; }
.rich-editor-surface blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--brand); background: rgba(109,93,252,.08); }
.rich-editor-surface.source-mode { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; }

/* ========================================================================
   OrbitMint 1.3.1 responsive QA hardening
   Prevents intrinsic grid widths, long operational values, and decorative
   layers from creating document-level overflow on phones and tablets.
   ======================================================================== */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body.panel-body {
    min-width: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.app-shell,
.app-main,
.page,
.page-title,
.page-title > *,
.panel,
.panel-head,
.panel-head > *,
.panel .panel-body,
.grid-2 > *,
.dashboard-grid > *,
.form-row > *,
.filters > *,
.wallet-layout > *,
.settings-shell > *,
.settings-content,
.settings-pane,
.gateway-form-grid > *,
.gateway-form-side > *,
.manual-gateway-grid > *,
.api-content,
.api-content > *,
.api-content .card-body {
    min-width: 0;
}

.page-title h1,
.page-title p,
.panel-head,
.panel-body,
.help,
.alert,
.user-chip-copy,
.manual-gateway-head,
.manual-gateway-head > div,
.manual-gateway-card p,
.gateway-choice-copy,
.selected-gateway-summary > div,
.settings-card,
.content-card,
.article-content,
.public-page-head,
.api-content {
    overflow-wrap: anywhere;
}

.form-control,
.money-input input,
.inline-filters,
.inline-filters > *,
.actions,
.page-actions {
    min-width: 0;
    max-width: 100%;
}

.stat-grid,
.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.stat-card span,
.stat-card strong,
.stat-card small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.table-wrap,
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.table th,
.table td {
    overflow-wrap: anywhere;
}

/* API documentation contains preformatted examples with a large intrinsic
   width. Keep the card fluid and let only code/table regions scroll. */
.api-content {
    width: 100%;
    max-width: 100%;
}

.api-content > section,
.api-content .card,
.api-content .card-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.api-content > section {
    overflow: hidden;
}

.api-content pre {
    width: 100%;
    max-width: 100%;
    white-space: pre;
    overflow: auto;
}

.api-content .table-responsive {
    width: 100%;
}

.api-content .table {
    min-width: 520px;
}

.api-content code:not(pre code) {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* auto-fit tracks must be allowed to shrink below 330px inside a padded
   320px viewport. */
.manual-gateway-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}

.manual-gateway-head > div,
.manual-gateway-head h3,
.manual-gateway-head small,
.manual-gateway-stats > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wallet-method-column,
.gateway-choice-grid,
.gateway-choice,
.wallet-checkout-card,
.selected-gateway-summary {
    min-width: 0;
    max-width: 100%;
}

.gateway-choice-copy strong,
.gateway-choice-copy small,
.selected-gateway-summary strong {
    overflow-wrap: anywhere;
}

.footer-aurora {
    width: min(750px, 100vw);
    max-width: 100vw;
}

.settings-nav {
    max-width: 100%;
}

@media (max-width: 1050px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .topbar {
        gap: 8px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .topbar-crumb {
        flex: 1 1 auto;
        overflow: hidden;
    }

    .topbar > .actions {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .topbar > .actions form {
        margin: 0;
    }

    .topbar > .actions .btn,
    .menu-toggle {
        min-height: 44px;
        margin: 0;
        white-space: nowrap;
    }

    .menu-toggle,
    .icon-btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .page {
        padding-right: 14px;
        padding-left: 14px;
    }

    .page-title {
        width: 100%;
        gap: 14px;
    }

    .page-title > .btn,
    .page-title > form,
    .page-title > .page-actions {
        width: 100%;
    }

    .page-title > .btn,
    .page-actions .btn {
        min-height: 44px;
    }

    .panel-head {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 17px;
    }

    .panel-body {
        padding: 17px;
    }

    .panel-head > .actions,
    .panel-head > form,
    .panel-head > .inline-filters {
        width: 100%;
    }

    .actions,
    .page-actions {
        flex-wrap: wrap;
    }

    .inline-filters {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        width: 100%;
    }

    .inline-filters .form-control,
    .inline-filters input,
    .inline-filters select,
    .inline-filters .btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    .btn-sm,
    .pagination a,
    .pagination span,
    .quick-amounts button {
        min-height: 44px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a,
    .pagination span {
        min-width: 44px;
    }

    .quick-amounts button {
        min-width: 44px;
        padding: 8px 11px;
    }

    .section-mini-head,
    .checkout-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .secure-chip {
        align-self: flex-start;
    }

    .selected-gateway-summary {
        align-items: flex-start;
    }

    .environment-tag {
        margin-left: 0;
    }

    .premium-footer .footer-grid a,
    .footer-email,
    .text-link {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
    }

    .api-content > section,
    .content-card {
        padding: 20px;
        border-radius: 17px;
    }
}

@media (max-width: 520px) {
    .stats-grid,
    .stat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .manual-gateway-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .manual-gateway-head > .badge {
        grid-column: 2;
        justify-self: start;
    }

    .manual-gateway-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .manual-gateway-actions form,
    .manual-gateway-actions .btn {
        width: 100%;
        margin-left: 0;
    }

    .selected-gateway-summary {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .selected-gateway-summary .environment-tag {
        grid-column: 2;
        justify-self: start;
    }

    .payment-breakdown > div,
    .amount-hints {
        gap: 10px;
    }

    .payment-breakdown > div > :last-child,
    .amount-hints > :last-child {
        text-align: right;
    }

    .api-content > section,
    .content-card {
        padding: 16px;
    }
}

/* Responsive QA follow-up: article code, installer steps, and topbar controls. */
.prose pre,
.article-content pre,
.content-card.prose pre {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    white-space: pre;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.prose img,
.article-content img,
.content-card.prose img,
.prose iframe,
.article-content iframe {
    max-width: 100%;
    height: auto;
}

.topbar > .actions > a[aria-label="Switch theme"] {
    width: 44px;
    min-width: 44px;
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 520px) {
    .install-shell {
        padding: 14px;
    }

    .install-head,
    .install-body {
        padding: 20px 18px;
    }

    .stepper {
        grid-template-columns: minmax(0, 1fr);
    }

    .step {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .requirement {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 9px;
    }

    .install-body .btn {
        width: 100%;
        min-height: 44px;
    }
}

/* Progressive enhancement: public content stays readable if JavaScript is
   disabled; reveal animation is enabled only after the head marks JS active. */
[data-reveal] {
    opacity: 1;
    transform: none;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
}

.js [data-reveal].revealed {
    opacity: 1;
    transform: none;
}

.api-content .table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.api-content .table th,
.api-content .table td {
    word-break: break-word;
}
