/* WOI HOME — MASTER */

.v2-home-page {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 0 8px 24px;
}

.v2-home-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--v2-accent-soft);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .14em;
}

.v2-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 9px;
}

.v2-home-section-head h2,
.v2-home-how h2 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.v2-home-block {
    padding: 14px 28px 16px;
    border-bottom: 1px solid var(--v2-border);
}

.v2-home-section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--v2-text-faint);
    font-size: 9px;
}

.v2-home-section-meta a,
.v2-home-how-link {
    color: #bdaeff;
    font-size: 10px;
    font-weight: 650;
    text-decoration: none;
}

.v2-home-section-meta a:hover,
.v2-home-how-link:hover {
    color: #d8d0ff;
}


/* HERO */

.v2-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(390px, .82fr) minmax(560px, 1.18fr);
    align-items: center;
    gap: clamp(38px, 4.5vw, 76px);
    min-height: 228px;
    padding: 20px 42px 22px;
    overflow: hidden;
    border-bottom: 1px solid var(--v2-border);
    background:
        radial-gradient(circle at 76% 45%, rgba(91, 74, 190, .13), transparent 34%),
        radial-gradient(circle at 66% 100%, rgba(36, 76, 137, .07), transparent 34%);
}

.v2-home-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.v2-home-hero h1 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: clamp(38px, 3.25vw, 52px);
    font-weight: 690;
    letter-spacing: -.05em;
    line-height: .98;
}

.v2-home-hero h1 span {
    color: #8f7cf0;
}

.v2-home-hero-copy > p {
    max-width: 540px;
    margin: 9px 0 0;
    color: var(--v2-text-secondary);
    font-size: 12px;
    line-height: 1.45;
}

.v2-home-button:focus-visible,
.v2-home-explore-grid a:focus-visible,
.v2-home-how-link:focus-visible {
    outline: 2px solid var(--v2-accent-soft);
    outline-offset: 2px;
}

.v2-home-hero-actions {
    margin-top: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.v2-home-button {
    min-height: 36px;
    padding: 0 15px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--v2-text-primary);
    font: inherit;
    font-size: 11px;
    font-weight: 680;
    text-decoration: none;
    cursor: pointer;
}

.v2-home-button-primary {
    border-color: #7658dc;
    background: #7658dc;
}

.v2-home-button-primary:hover {
    border-color: #8a6be9;
    background: #8263e8;
}

.v2-home-button-secondary {
    background: rgba(17, 24, 33, .72);
}

.v2-home-button-secondary:hover {
    background: var(--v2-bg-hover);
}

.v2-home-hero-visual {
    position: relative;
    min-width: 0;
    height: 185px;
    overflow: hidden;
}

.v2-home-hero-grid,
.v2-home-product-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(49, 62, 81, .23) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 62, 81, .18) 1px, transparent 1px);
    background-size: 58px 42px;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.v2-home-hero-chart {
    position: absolute;
    inset: 8px 0 0;
    width: 100%;
    height: calc(100% - 8px);
    overflow: visible;
}

.v2-home-chart-line {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.v2-home-chart-line-main {
    stroke: #8b73e8;
    stroke-width: 2;
}

.v2-home-chart-line-secondary {
    stroke: #4d6688;
    stroke-width: 1.15;
    opacity: .72;
}

.v2-home-chart-area {
    fill: url(#v2-home-hero-area-gradient);
}

.v2-home-chart-point {
    fill: #8b73e8;
    stroke: #c5baff;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.v2-home-chart-point.is-last {
    fill: #b3a4ff;
}

.v2-home-hero-scan {
    position: absolute;
    left: 24px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.v2-home-hero-scan span {
    padding: 5px 8px;
    border: 1px solid rgba(116, 98, 205, .42);
    border-radius: 4px;
    color: #9aa7bb;
    background: rgba(11, 16, 24, .88);
    font-size: 9px;
    font-weight: 680;
    letter-spacing: .07em;
    line-height: 1;
}

.v2-home-hero-message {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;
    width: 176px;
    padding: 12px 14px;
    border: 1px solid rgba(112, 93, 201, .24);
    border-radius: 6px;
    background: rgba(10, 15, 23, .82);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    backdrop-filter: blur(5px);
}



.v2-home-hero-message strong {
    display: block;
    color: var(--v2-text-primary);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: .09em;
    line-height: 1.2;
}

.v2-home-hero-message i {
    display: block;
    width: 46px;
    height: 2px;
    margin-top: 8px;
    background: #8263e8;
}

.v2-home-hero-message p {
    margin: 8px 0 0;
    color: #aeb9cb;
    font-size: 10px;
    font-style: normal;
    line-height: 1.4;
}


/* WHAT'S MOVING */

.v2-home-trending {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.v2-home-trending-head {
    display: none;
}

.v2-home-trending-row {
    position: relative;
    min-width: 0;
    min-height: 96px;
    padding: 12px 14px 13px;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 7px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "symbol change"
        "price direction"
        "sector sector";
    gap: 3px 10px;
    align-content: center;
    background: rgba(17, 24, 33, .82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .018),
        0 7px 20px rgba(0, 0, 0, .10);
    transition:
        border-color .16s ease,
        background .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}

.v2-home-trending-row[href] {
    color: inherit;
    text-decoration: none;
}

.v2-home-trending-row[href]:hover {
    border-color: var(--v2-border-strong);
    background: rgba(20, 28, 39, .94);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 10px 24px rgba(0, 0, 0, .16);
}

.v2-home-trending-row.is-positive {
    border-color: rgba(76, 91, 112, .46);
}

.v2-home-trending-row.is-negative {
    border-color: rgba(76, 91, 112, .46);
}


.v2-home-trending-symbol {
    grid-area: symbol;
    position: relative;
    z-index: 1;
    color: var(--v2-text-primary);
    font-size: 14px;
    font-weight: 760;
    letter-spacing: .015em;
}

.v2-home-trending-price {
    grid-area: price;
    position: relative;
    z-index: 1;
    color: #eef3fb;
    font-size: 15px;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.015em;
}

.v2-home-trending-change {
    grid-area: change;
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: end;
    font-size: 13px;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
}

.v2-home-trending-change.v2-home-positive,
.v2-home-trending-direction.v2-home-positive {
    color: var(--v2-positive);
}

.v2-home-trending-change.v2-home-negative,
.v2-home-trending-direction.v2-home-negative {
    color: var(--v2-negative);
}

.v2-home-trending-sector {
    grid-area: sector;
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-top: 6px;
    padding-top: 7px;
    overflow: hidden;
    border-top: 1px solid rgba(73, 87, 107, .25);
    color: var(--v2-text-muted);
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v2-home-trending-direction {
    grid-area: direction;
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: end;
    font-size: 8px;
    font-weight: 760;
    letter-spacing: .065em;
}

.v2-home-trending-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    opacity: .82;
}

.v2-home-trending-row.is-positive
.v2-home-trending-accent {
    background: var(--v2-positive);
}

.v2-home-trending-row.is-negative
.v2-home-trending-accent {
    background: var(--v2-negative);
}

.v2-home-trending-row.is-neutral
.v2-home-trending-accent {
    background: rgba(111, 126, 148, .35);
}

#v2-home-trending-updated.is-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7ed6aa;
    font-size: 8px;
    font-weight: 720;
    letter-spacing: .07em;
}

.v2-home-live-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #45c98b;
    box-shadow: 0 0 0 3px rgba(69, 201, 139, .10);
}
.v2-home-data-note {
    grid-column: 1 / -1;
    margin: 0;
    padding: 4px 2px 0;
    color: var(--v2-text-faint);
    font-size: 9px;
}

.v2-home-empty {
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px solid var(--v2-border);
    color: var(--v2-text-muted);
    font-size: 10px;
}

.v2-home-direction-placeholder {
    width: 44px;
    height: 18px;
    border-bottom: 1px solid #354155;
    transform: skewY(-9deg);
}


/* STOCK ANALYSIS */

.v2-home-analysis {
    display: grid;
    grid-template-columns: minmax(390px, 1.15fr) minmax(260px, .72fr) minmax(300px, .83fr);
    align-items: center;
    gap: clamp(26px, 3vw, 46px);
    padding: 18px 32px;
    border-bottom: 1px solid var(--v2-border);
    background:
        linear-gradient(90deg, rgba(18, 26, 37, .58), rgba(17, 24, 33, .18));
}

.v2-home-analysis-visual {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-home-analysis-preview-image {
    display: block;
    width: min(100%, 620px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .20);
}

.v2-home-analysis-copy {
    max-width: 350px;
}

.v2-home-analysis h2 {
    margin: 0;
    color: var(--v2-text-primary);
    font-size: clamp(25px, 2.15vw, 34px);
    font-weight: 670;
    letter-spacing: -.035em;
    line-height: 1.03;
}

.v2-home-analysis h2 span {
    color: #8f7cf0;
}

.v2-home-analysis-copy > p {
    margin: 9px 0 0;
    color: var(--v2-text-secondary);
    font-size: 11px;
    line-height: 1.5;
}

.v2-home-analysis-cta {
    margin-top: 13px;
}

.v2-home-capability-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
}

.v2-home-capability-list li {
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid rgba(43, 54, 70, .72);
    display: grid;
    grid-template-columns: 27px 1fr;
    align-items: center;
    gap: 9px;
}

.v2-home-capability-list li:last-child {
    border-bottom: 0;
}

.v2-home-capability-icon {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(122, 99, 219, .42);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9b88ef;
    font-size: 11px;
}

.v2-home-capability-list strong {
    display: block;
    color: var(--v2-text-primary);
    font-size: 10px;
    font-weight: 650;
}

.v2-home-capability-list small {
    display: block;
    margin-top: 1px;
    color: var(--v2-text-faint);
    font-size: 8px;
    line-height: 1.3;
}


/* EXPLORE */

.v2-home-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 6px;
}

.v2-home-explore-grid a {
    min-width: 0;
    min-height: 94px;
    padding: 11px 13px;
    border-right: 1px solid var(--v2-border);
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-areas:
        "icon title"
        "icon description"
        "icon action";
    align-content: center;
    column-gap: 10px;
    color: inherit;
    background: rgba(17, 24, 33, .48);
    text-decoration: none;
}

.v2-home-explore-grid a:last-child {
    border-right: 0;
}

.v2-home-explore-grid a:hover {
    background: var(--v2-bg-hover);
}

.v2-home-tool-mark {
    grid-area: icon;
    width: 25px;
    height: 25px;
    margin-top: 1px;
    border: 1px solid rgba(122, 99, 219, .38);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9b88ef;
    font-size: 11px;
}

.v2-home-explore-grid strong {
    grid-area: title;
    color: var(--v2-text-primary);
    font-size: 11px;
    font-weight: 650;
}

.v2-home-explore-grid a > span:not(.v2-home-tool-mark) {
    grid-area: description;
    margin-top: 3px;
    color: var(--v2-text-muted);
    font-size: 9px;
    line-height: 1.35;
}

.v2-home-explore-grid b {
    grid-area: action;
    margin-top: 5px;
    color: var(--v2-accent-soft);
    font-size: 8px;
    font-weight: 650;
}


/* HOW WOI WORKS */

.v2-home-how {
    padding: 13px 28px 15px;
    border-bottom: 1px solid var(--v2-border);
    display: grid;
    grid-template-columns: minmax(170px, .55fr) minmax(620px, 2.45fr) auto;
    align-items: center;
    gap: 24px;
}

.v2-home-how-intro h2 {
    margin: 0;
}

.v2-home-steps {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
}

.v2-home-steps li {
    min-width: 0;
    min-height: 58px;
    padding: 7px 18px;
    border-left: 1px solid var(--v2-border);
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 7px;
}

.v2-home-steps li > span {
    color: var(--v2-accent-soft);
    font-size: 9px;
    font-weight: 720;
}

.v2-home-steps strong {
    color: var(--v2-text-primary);
    font-size: 10px;
}

.v2-home-steps p {
    margin: 2px 0 0;
    color: var(--v2-text-muted);
    font-size: 8px;
    line-height: 1.35;
}

.v2-home-how-link {
    white-space: nowrap;
}


/* RESPONSIVE */

@media (max-width: 1180px) {
    .v2-home-hero {
        grid-template-columns: minmax(350px, .9fr) minmax(450px, 1.1fr);
        gap: 34px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .v2-home-analysis {
        grid-template-columns: minmax(340px, 1fr) minmax(250px, .72fr);
    }

    .v2-home-capability-list {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .v2-home-capability-list li {
        padding-right: 12px;
    }

    .v2-home-how {
        grid-template-columns: 170px 1fr;
    }

    .v2-home-how-link {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .v2-home-page {
        padding-right: 0;
        padding-left: 0;
    }

    .v2-home-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 24px;
    }

    .v2-home-hero-copy {
        max-width: 650px;
    }

    .v2-home-hero-visual {
        height: 190px;
    }


    .v2-home-trending {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-home-analysis {
        grid-template-columns: 1fr 1fr;
        padding: 22px 24px;
    }

    .v2-home-analysis-visual {
        grid-column: 1 / -1;
    }

    .v2-home-capability-list {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .v2-home-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-home-explore-grid a:nth-child(2) {
        border-right: 0;
    }

    .v2-home-explore-grid a:nth-child(-n+2) {
        border-bottom: 1px solid var(--v2-border);
    }

    .v2-home-how {
        grid-template-columns: 1fr;
    }

    .v2-home-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v2-home-how-link {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .v2-home-block,
    .v2-home-analysis,
    .v2-home-how {
        padding: 22px 12px;
    }

    .v2-home-hero {
        padding: 30px 12px;
    }

    .v2-home-hero h1 {
        font-size: clamp(36px, 12vw, 48px);
    }

    .v2-home-hero-copy > p {
        font-size: 12px;
    }

    .v2-home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .v2-home-button {
        width: 100%;
    }

    .v2-home-hero-visual {
        height: 165px;
    }

    .v2-home-hero-message {
        top: 17px;
        right: 8px;
    }

    .v2-home-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .v2-home-section-meta {
        width: 100%;
        justify-content: space-between;
    }    .v2-home-trending,
    .v2-home-analysis,
    .v2-home-explore-grid,
    .v2-home-steps {
        grid-template-columns: 1fr;
    }


    .v2-home-analysis-visual,
    .v2-home-capability-list {
        grid-column: auto;
    }

    .v2-home-product-summary {
        grid-template-columns: 1fr;
    }

    .v2-home-product-summary > span {
        border-right: 0;
        border-bottom: 1px solid var(--v2-border);
    }

    .v2-home-product-summary > span:last-child {
        border-bottom: 0;
    }

    .v2-home-explore-grid a,
    .v2-home-explore-grid a:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--v2-border);
    }

    .v2-home-explore-grid a:last-child {
        border-bottom: 0;
    }

    .v2-home-steps li {
        border-left: 0;
        border-top: 1px solid var(--v2-border);
        padding: 10px 0;
    }
}
