:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --surface2: #f2f6ff;
    --text: #0f172a;
    --muted: #475569;
    --muted2: #64748b;
    --border: rgba(15, 23, 42, .12);
    --shadow: 0 10px 30px rgba(2, 6, 23, .08);
    --shadow2: 0 8px 24px rgba(2, 6, 23, .06);
    --brand: #5b21b6;
    --brand2: #a855f7;
    --brand3: #f0abfc;
    --ink: #2e1065;
    --radius: 18px;
    --radius2: 22px;
    --radius3: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    padding: 24px 0 32px;
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: 75vw;
    max-width: 1440px;
    margin: 0 auto;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* ===== Topbar ===== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 24px;
    background: rgba(246, 248, 252, .75);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 0 18px;
    width: 100%;
    border-radius: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    letter-spacing: .2px;
    padding: 6px 8px;
    border-radius: 999px
}

.logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(91, 33, 182, .95), rgba(168, 85, 247, .92));
    box-shadow: 0 10px 20px rgba(91, 33, 182, .22);
    position: relative;
}

.logo:before, .logo:after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .75);
    inset: 8px
}

.logo:after {
    inset: 14px;
    border-color: rgba(255, 255, 255, .55)
}

nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.navlink {
    font-size: 13px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: .15px
}

.navlink:hover {
    background: rgba(255, 255, 255, .7);
    border-color: rgba(15, 23, 42, .08);
    color: var(--text)
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: radial-gradient(520px 300px at 18% 0%, rgba(168, 85, 247, .10), transparent 62%),
    radial-gradient(520px 300px at 82% 90%, rgba(91, 33, 182, .10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .86));
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .06);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, .10)
}

.btn.primary {
    border-color: rgba(91, 33, 182, .25);
    background: linear-gradient(135deg, rgba(91, 33, 182, .98), rgba(168, 85, 247, .98));
    color: white;
    box-shadow: 0 14px 26px rgba(91, 33, 182, .22);
}

.btn.primary:hover {
    box-shadow: 0 18px 34px rgba(91, 33, 182, .30)
}

/* ===== Bands ===== */
.band {
    position: relative;
    border-radius: 22px;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.band + .band {
    margin-top: 18px
}

.band .inner {
    padding: 34px;
    position: relative;
    z-index: 1;
}

.band:after {
    content: "";
    position: absolute;
    inset: -120px;
    pointer-events: none;
    opacity: .60;
    background: radial-gradient(560px 360px at 18% 22%, rgba(168, 85, 247, .22), transparent 62%),
    radial-gradient(620px 420px at 88% 16%, rgba(91, 33, 182, .18), transparent 65%),
    radial-gradient(520px 360px at 60% 95%, rgba(240, 171, 252, .16), transparent 62%);
    filter: blur(2px);
    z-index: 0;
}

.band:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .09;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" width="180" height="180">\
      <filter id="n">\
        <feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/>\
      </filter>\
      <rect width="180" height="180" filter="url("#n#n")" opacity="0.55"/>\
    </svg>');
    background-size: 180px 180px;
    mix-blend-mode: multiply;
}

.band-a {
    background: transparent;
}

.band-b {
    background: transparent;
}

.k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    width: max-content;
}

.h2 {
    font-size: 30px;
    letter-spacing: -.45px;
    margin-top: 10px;
    max-width: 36ch
}

.lead {
    color: var(--muted);
    max-width: 84ch;
    font-size: 17px;
    margin-top: 12px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.micro {
    color: var(--muted2);
    font-size: 13px;
    margin-top: 16px;
    font-weight: 650
}

.row {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.card {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 26px rgba(15, 23, 42, .06);
    padding: 16px;
    min-height: 160px;
}

.card .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 900;
    color: #334155
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .96), rgba(240, 171, 252, .95));
    box-shadow: 0 10px 16px rgba(240, 171, 252, .14);
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(91, 33, 182, .18);
    background: rgba(91, 33, 182, .10);
    color: rgba(91, 33, 182, .95);
    font-weight: 950;
    box-shadow: 0 12px 20px rgba(91, 33, 182, .10);
    user-select: none;
    flex: 0 0 auto;
}

.u-min-140 {
    min-height: 140px
}

.u-min-150 {
    min-height: 150px
}

/* ===== Footer ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.site-footer {
    margin-top: 18px;
    padding: 64px 0 52px;
    border-top: 1px solid rgba(15, 23, 42, .10);
    background: radial-gradient(820px 460px at 10% 0%, rgba(168, 85, 247, .19), transparent 60%),
    radial-gradient(860px 520px at 92% 10%, rgba(240, 171, 252, .16), transparent 62%),
    radial-gradient(900px 520px at 45% 120%, rgba(52, 211, 153, .12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .55));
}

.footer-card {
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .64));
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .42), rgba(240, 171, 252, .27), rgba(52, 211, 153, .20));
    opacity: .48;
    filter: blur(14px);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:1.35fr 1fr 1fr;
    gap: 18px;
    padding: 18px 18px 20px;
    align-items: stretch;
}

.brand-panel,
.link-panel {
    height: 100%;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: radial-gradient(520px 260px at 12% 10%, rgba(168, 85, 247, .17), transparent 60%),
    radial-gradient(520px 260px at 88% 18%, rgba(240, 171, 252, .15), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62));
    box-shadow: var(--shadow2);
    padding: 16px 16px 14px;
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    will-change: transform;
}

.brand-panel:hover,
.link-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, .18);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .98), rgba(168, 85, 247, .92));
    box-shadow: 0 14px 28px rgba(124, 58, 237, .18);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: -45% -55%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), transparent 58%);
    transform: rotate(12deg);
}

.brand-title {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -.02em;
    font-size: 30px;
    font-weight: 980;
    color: var(--text);
}

.brand-tagline {
    margin: 4px 0 0;
    font-size: 12.8px;
    color: rgba(51, 65, 85, .86);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52ch;
}

.brand-sub {
    margin: 12px 0 0;
    color: rgba(51, 65, 85, .92);
    font-size: 13.2px;
    line-height: 1.7;
    max-width: 62ch;
}

.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.panel-title {
    margin: 0;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 980;
    color: rgba(124, 58, 237, .86);
}

.panel-meta {
    font-size: 12px;
    color: rgba(51, 65, 85, .78);
    white-space: nowrap
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 6px 0 0;
    border-top: 1px solid rgba(15, 23, 42, .06);
}

.link-list li {
    margin: 0
}

.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    color: rgba(15, 23, 42, .88);
    font-size: 13.2px;
    font-weight: 900;
    transition: background .15s ease, transform .15s ease;
    border-radius: 14px;
}

.link:hover {
    background: rgba(124, 58, 237, .05);
    transform: translateY(-1px)
}

.link .hint {
    font-size: 11.5px;
    font-weight: 850;
    color: rgba(51, 65, 85, .62);
    margin-left: 10px;
    white-space: nowrap;
}

.link .go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(240, 171, 252, .10));
    color: rgba(15, 23, 42, .70);
    font-weight: 950;
    flex: 0 0 auto;
    transition: transform .15s ease;
}

.link:hover .go {
    transform: translateX(1px)
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-top: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .55);
    color: rgba(51, 65, 85, .95);
    font-size: 12.5px;
}

.footer-bottom--center {
    justify-content: center;
    text-align: center
}

.footer-strong {
    color: var(--text)
}

.footer-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .74);
    color: rgba(15, 23, 42, .88);
    font-size: 12px;
    font-weight: 950;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: rgba(240, 171, 252, .35);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 26px rgba(15, 23, 42, .10);
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns:1fr
    }

    .brand-title {
        font-size: 28px
    }

    .brand-tagline {
        max-width: 100%;
        white-space: normal
    }
}

@media (max-width: 520px) {
    .brand-title {
        font-size: 26px
    }

    .panel-meta {
        display: none
    }
}

/* ===== Utilities ===== */
.u-row-tight {
    margin-top: 0
}

.u-row-center {
    justify-content: center
}

.u-row-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end
}

.u-text-center {
    text-align: center
}

.u-mx-auto {
    margin-left: auto;
    margin-right: auto
}

.u-max-68ch {
    max-width: 68ch
}

.u-max-60ch {
    max-width: 60ch
}

.u-max-72ch {
    max-width: 72ch
}

.u-max-46ch {
    max-width: 46ch
}

.u-max-760 {
    max-width: 760px
}

.u-w-100 {
    width: 100%
}

.u-mt-14 {
    margin-top: 14px
}

.u-mt-16 {
    margin-top: 16px
}

.u-mt-18 {
    margin-top: 18px
}

.u-mt-22 {
    margin-top: 22px
}

.u-mt-24 {
    margin-top: 24px
}

.u-mt-0 {
    margin-top: 0
}

.u-rel {
    position: relative
}

.u-spacer-10 {
    height: 10px
}

.u-spacer-8 {
    height: 8px
}

.u-text-12 {
    font-size: 12px
}

.u-micro-center {
    position: relative;
    text-align: center;
    margin-top: 18px
}

.u-micro-center-sm {
    position: relative;
    text-align: center;
    margin-top: 16px
}

.u-centered-copy {
    margin-left: auto;
    margin-right: auto;
    max-width: 68ch
}

.u-centered-block {
    margin-left: auto;
    margin-right: auto
}

@media (max-width: 1100px) {
    .wrap {
        width: 92vw
    }

    nav {
        display: none
    }

    .topbar {
        border-radius: 18px
    }

    .band .inner {
        padding: 26px
    }
}
