:root {
    --bg: #0f1115;
    --panel: #151923;
    --panel2: #101521;
    --bd: #262b3a;
    --txt: #e9edf5;
    --muted: #b8c0d4;
    --muted2: #94a0bb;
    --accent: #4ea1ff;
    --accent2: #9ad1ff;
    --ok: #4fe3a4;
    --warn: #ffcc66;
    --bad: #ff6b6b;
    --shadow: 0 16px 50px rgba(0,0,0,.35);
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    background-image: radial-gradient(1000px 600px at 20% -10%, rgba(78,161,255,.15), transparent 55%), radial-gradient(900px 500px at 80% -20%, rgba(79,227,164,.10), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--txt);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}


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

    a:hover {
        opacity: .92
    }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15,17,21,.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(38,43,58,.7)
}

.topbar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px
}

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

.logo {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, rgba(154,209,255,.95), rgba(78,161,255,.35) 55%, rgba(79,227,164,.15));
    border: 1px solid rgba(154,209,255,.25);
    box-shadow: 0 14px 40px rgba(78,161,255,.18);
}

.brand-title {
    display: flex;
    flex-direction: column;
    line-height: 1
}

    .brand-title strong {
        font-weight: 900;
        letter-spacing: .2px
    }

    .brand-title span {
        font-size: 12px;
        color: rgba(184,192,212,.9);
        margin-top: 5px
    }

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1
}

.nav-item {
    position: relative
}

.nav-btn {
    appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: var(--txt);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav-btn:hover {
        background: rgba(21,25,35,.45);
        border-color: rgba(38,43,58,.6)
    }

.chev {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(233,237,245,.55);
    border-bottom: 2px solid rgba(233,237,245,.55);
    transform: rotate(45deg);
    margin-top: -2px
}

/* Dropdown */
.dropdown {
    position: absolute;
    left: 0;
    top: 52px;
    min-width: 320px;
    background: rgba(16,21,33,.92);
    border: 1px solid rgba(38,43,58,.85);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
}

.nav-item.open > .dropdown {
    display: block
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px
}

    .dd-item:hover {
        background: rgba(21,25,35,.65)
    }

.dd-ic {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(78,161,255,.22), rgba(79,227,164,.08));
    border: 1px solid rgba(154,209,255,.18);
    font-weight: 900;
    font-size: 12px;
    color: rgba(233,237,245,.9)
}

.dd-txt {
    display: flex;
    flex-direction: column;
    gap: 2px
}

    .dd-txt strong {
        font-size: 13px
    }

    .dd-txt span {
        font-size: 12px;
        color: rgba(148,160,187,.95)
    }

/* Actions */
.top-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(21,25,35,.55);
    color: var(--txt);
    font-weight: 900;
    font-size: 13px;
}

    .btn:hover {
        background: rgba(21,25,35,.8)
    }

    .btn.primary {
        background: linear-gradient(180deg, rgba(78,161,255,.95), rgba(78,161,255,.72));
        border-color: rgba(154,209,255,.3);
        color: #061018;
    }

        .btn.primary:hover {
            filter: brightness(1.05)
        }

.hamburger {
    display: none;
    width: 46px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(21,25,35,.55);
    cursor: pointer;
}

    .hamburger span {
        display: block;
        height: 2px;
        background: rgba(233,237,245,.8);
        margin: 7px 10px;
        border-radius: 2px
    }

/* Mobile panel */
.mobile-panel {
    display: none;
    border-top: 1px solid rgba(38,43,58,.6);
    background: rgba(15,17,21,.85);
    backdrop-filter: blur(14px)
}

    .mobile-panel.open {
        display: block
    }

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0
}

.mobile-section {
    border: 1px solid rgba(38,43,58,.75);
    background: rgba(16,21,33,.55);
    border-radius: 16px;
    padding: 12px
}

    .mobile-section h4 {
        margin: 0 0 10px 0;
        font-size: 13px;
        color: rgba(233,237,245,.9)
    }

.mobile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .mobile-links a {
        padding: 8px 10px;
        border-radius: 12px;
        border: 1px solid rgba(38,43,58,.85);
        background: rgba(21,25,35,.45);
        font-weight: 800;
        font-size: 13px
    }

/* Hero */
.hero {
    padding: 28px 0 8px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 14px;
    align-items: start
}

.card {
    background: linear-gradient(180deg, rgba(21,25,35,.75), rgba(16,21,33,.62));
    border: 1px solid rgba(38,43,58,.85);
    border-radius: 18px;
    box-shadow: 0 12px 45px rgba(0,0,0,.25);
}

.pad {
    padding: 18px
}

.eyebrow {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(184,192,212,.95);
    font-size: 12px;
    font-weight: 800
}

h1 {
    margin: 10px 0 10px;
    font-size: 34px;
    line-height: 1.06
}

.lead {
    margin: 0;
    color: rgba(184,192,212,.95);
    font-size: 15px;
    line-height: 1.55
}

.cta-row {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.email {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 260px;
    border: 1px solid rgba(38,43,58,.85);
    border-radius: 14px;
    background: rgba(16,21,33,.55);
    padding: 10px 12px;
}

    .email input {
        width: 100%;
        border: 0;
        outline: none;
        background: transparent;
        color: var(--txt);
        font-size: 14px;
    }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(16,21,33,.55);
    border: 1px solid rgba(38,43,58,.85);
    color: rgba(233,237,245,.9);
    font-weight: 900;
    font-size: 12px;
}

    .chip i {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: rgba(154,209,255,.9);
        display: inline-block
    }

    .chip.ok i {
        background: rgba(79,227,164,.95)
    }

    .chip.warn i {
        background: rgba(255,204,102,.95)
    }

.gauge h3 {
    margin: 0;
    font-size: 16px
}

.sub {
    color: rgba(148,160,187,.95);
    font-size: 12px;
    line-height: 1.45
}

.gauge-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start
}

.stamp {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(184,192,212,.9);
    border: 1px solid rgba(38,43,58,.75);
    background: rgba(16,21,33,.55);
    padding: 8px 10px;
    border-radius: 999px
}

.dial {
    margin-top: 10px
}

.dial-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center
}

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

.risk-pill {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(16,21,33,.55);
    font-weight: 1000;
    font-size: 12px
}

.risk-meta {
    display: flex;
    flex-direction: column
}

    .risk-meta strong {
        font-size: 14px
    }

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(16,21,33,.55);
    color: rgba(184,192,212,.95)
}

.bar {
    margin-top: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(16,21,33,.55);
    overflow: hidden
}

    .bar i {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, rgba(79,227,164,.95), rgba(255,204,102,.95), rgba(255,107,107,.95))
    }

.dial-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: rgba(148,160,187,.95);
    font-size: 12px;
    font-weight: 900
}

.gauge-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px
}

/* Sections */
.section {
    padding: 20px 0
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px
}

    .section-title h2 {
        margin: 0;
        font-size: 24px
    }

    .section-title p {
        margin: 0;
        color: rgba(148,160,187,.95);
        font-size: 13px
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px align-items:start;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px align-items:start;
}

.grid-mini {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

.mini {
    border: 1px solid rgba(38,43,58,.75);
    background: rgba(16,21,33,.45);
    border-radius: 14px;
    padding: 10px
}

    .mini small {
        display: block;
        color: rgba(148,160,187,.95);
        font-size: 11px;
        font-weight: 900
    }

    .mini b {
        display: block;
        margin-top: 5px;
        font-size: 16px
    }

.list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(16,21,33,.45)
}

    .item b {
        display: block;
        font-size: 13px
    }

    .item small {
        display: block;
        color: rgba(148,160,187,.95);
        font-size: 12px;
        margin-top: 4px
    }

.bullets {
    margin: 0;
    padding-left: 18px;
    color: rgba(184,192,212,.95)
}

    .bullets li {
        margin: 8px 0;
        line-height: 1.4
    }

.mdbox {
    margin: 10px 0 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(15,17,21,.65);
    color: rgba(233,237,245,.9);
    font-size: 12px;
    white-space: pre-wrap;
    line-height: 1.45;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.price h3 {
    margin: 0 0 8px 0
}

.money {
    font-size: 32px;
    font-weight: 1000;
    margin: 0 0 10px 0
}

    .money small {
        font-size: 12px;
        color: rgba(148,160,187,.95);
        font-weight: 900
    }

.price .sub {
    margin-top: 12px
}

/* Tables */
.table-wrap {
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(38,43,58,.85)
}

.rw-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    background: rgba(16,21,33,.35)
}

    .rw-table th, .rw-table td {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(38,43,58,.65);
        text-align: left;
        font-size: 12px
    }

    .rw-table th {
        color: rgba(184,192,212,.95);
        font-weight: 1000;
        background: rgba(15,17,21,.65)
    }

    .rw-table td {
        color: rgba(233,237,245,.9)
    }

.pill2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 1000;
    font-size: 11px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(16,21,33,.55)
}

    .pill2.ok {
        border-color: rgba(79,227,164,.35);
        color: rgba(79,227,164,.95)
    }

    .pill2.warn {
        border-color: rgba(255,204,102,.35);
        color: rgba(255,204,102,.95)
    }

    .pill2.bad {
        border-color: rgba(255,107,107,.35);
        color: rgba(255,107,107,.95)
    }

/* Canvas chart */
.rw-chart {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(15,17,21,.65)
}

/* Footer */
footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(38,43,58,.65);
    background: rgba(10,12,15,.55)
}

.foot {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start
}

    .foot a {
        color: rgba(154,209,255,.9);
        font-weight: 900;
        font-size: 13px
    }

.disclaimer {
    max-width: 560px;
    color: rgba(148,160,187,.95);
    font-size: 12px;
    line-height: 1.45
}

/* Responsive */
@media (max-width: 980px) {
    .nav {
        display: none
    }

    .hamburger {
        display: inline-block
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .pricing {
        grid-template-columns: 1fr
    }

    h1 {
        font-size: 30px
    }
}


/* Highcharts containers */
.rw-hc {
    height: 230px;
    border-radius: 16px;
    border: 1px solid rgba(38,43,58,.85);
    background: rgba(15,17,21,.65);
    overflow: hidden
}


/* Hero left column stack (prevents blank space under the hero card) */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 14px
}


/* Hero: make email subscribe box obvious */
.hero-subscribe {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(78,161,255,.35);
    background: linear-gradient(180deg, rgba(78,161,255,.12), rgba(15,17,21,.15));
    box-shadow: 0 18px 70px rgba(78,161,255,.16);
}

    .hero-subscribe:focus-within {
        border-color: rgba(154,209,255,.55);
        box-shadow: 0 22px 90px rgba(78,161,255,.22);
    }

.hero-subscribe-label {
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.hero-subscribe-sub {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted2);
}

.hero-subscribe-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-subscribe-input {
    flex: 1 1 280px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(154,209,255,.28);
    background: rgba(10,12,16,.7);
    color: var(--txt);
    outline: none;
}

    .hero-subscribe-input::placeholder {
        color: rgba(233,237,245,.65);
    }

    .hero-subscribe-input:focus {
        border-color: rgba(154,209,255,.55);
    }










.hero-subscribe {
    max-width: 520px;
}

.hero-subscribe-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.hero-subscribe-btn {
    height: 44px;
    white-space: nowrap;
}

@media (max-width: 680px) {
    .hero-subscribe-row {
        flex-wrap: wrap;
    }

    .hero-subscribe-btn {
        width: 100%;
    }
}


/* HERO subscribe: full-row width */
#signup form.email {
    width: 100%;
}

#signup .hero-subscribe {
    width: 100%;
    max-width: none; /* <- this is the key */
}

#signup .hero-subscribe-row {
    width: 100%;
}

#signup .hero-subscribe-input {
    flex: 1 1 auto;
    min-width: 0;
}
