
/* ========================================
   ASHER VERAH — TRADING PAGE
   ======================================== */

:root {
    color-scheme: light;
    --bg: #f5f5f7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --muted: #737378;
    --border: rgba(0, 0, 0, 0.1);
    --accent: #16865b;
    --accent-soft: rgba(22, 134, 91, 0.1);
    --chart-bg: #101411;
    --chart-grid: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #101010;
    --surface: #1a1a1c;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.13);
    --accent: #64d6a0;
    --accent-soft: rgba(100, 214, 160, 0.1);
    --chart-bg: #080b09;
    --chart-grid: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s ease, color 0.25s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* GENERAL LAYOUT */

main {
    overflow: hidden;
}

.section,
.hero {
    width: min(1100px, 86%);
    margin-inline: auto;
}

.section {
    padding-block: 110px;
    border-top: 1px solid var(--border);
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4.4vw, 51px);
    font-weight: 600;
    letter-spacing: -2.5px;
    line-height: 1.12;
}

.muted {
    color: var(--muted);
}

/* HERO */

.hero {
    padding-top: 105px;
    padding-bottom: 100px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(51px, 8.7vw, 100px);
    font-weight: 650;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.hero-copy {
    max-width: 465px;
    margin: 28px 0 30px;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-soft);
}

/* DECORATIVE CHART */

.chart-art {
    margin-top: 65px;
    padding: 22px 25px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    background: var(--chart-bg);
    color: #d6ddd8;
}

.chart-topline,
.chart-bottomline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #8a9890;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 1.4px;
}

.chart-grid {
    position: relative;
    height: 260px;
    margin: 24px 0 20px;
    overflow: hidden;
    background-image:
        linear-gradient(var(--chart-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--chart-grid) 1px, transparent 1px);
    background-size: 10% 25%;
}

.price-line {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    border-top: 1px dashed rgba(100, 214, 160, 0.42);
}

.line-one {
    top: 30%;
}

.line-two {
    top: 56%;
}

.line-three {
    top: 78%;
    border-color: rgba(255, 125, 125, 0.35);
}

.candles {
    position: absolute;
    inset: 0 5%;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

.candle {
    position: absolute;
    top: var(--y);
    left: calc(var(--i, 0) * 6.5%);
    width: 9px;
    height: var(--h);
    min-height: 24px;
    background: #58c99a;
}

.candle::before {
    position: absolute;
    top: -12px;
    left: 4px;
    width: 1px;
    height: calc(100% + 24px);
    background: inherit;
    content: "";
}

.candle.down {
    background: #e27777;
}

.candles .candle:nth-child(1)  { left: 2%; }
.candles .candle:nth-child(2)  { left: 8%; }
.candles .candle:nth-child(3)  { left: 14%; }
.candles .candle:nth-child(4)  { left: 20%; }
.candles .candle:nth-child(5)  { left: 26%; }
.candles .candle:nth-child(6)  { left: 32%; }
.candles .candle:nth-child(7)  { left: 38%; }
.candles .candle:nth-child(8)  { left: 44%; }
.candles .candle:nth-child(9)  { left: 50%; }
.candles .candle:nth-child(10) { left: 56%; }
.candles .candle:nth-child(11) { left: 62%; }
.candles .candle:nth-child(12) { left: 68%; }
.candles .candle:nth-child(13) { left: 74%; }
.candles .candle:nth-child(14) { left: 80%; }
.candles .candle:nth-child(15) { left: 86%; }

.chart-label {
    position: absolute;
    z-index: 2;
    padding: 7px 9px;
    border: 1px solid rgba(100, 214, 160, 0.25);
    border-radius: 4px;
    background: #14251d;
    color: #8ce0b7;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.label-a {
    top: calc(30% - 15px);
    right: 3%;
}

.label-b {
    top: calc(56% - 15px);
    left: 13%;
}

.chart-bottomline {
    padding-top: 17px;
    border-top: 1px solid var(--chart-grid);
}

/* INTRODUCTION */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 70px;
    align-items: start;
}

.section-copy {
    padding-top: 4px;
}

.section-copy p,
.process-card p,
.market-info p,
.journal-copy {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.section-copy p:first-child {
    margin-top: 0;
}

.section-copy p:last-child {
    margin-bottom: 0;
}

/* PROCESS CARDS */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 38px;
}

.section-heading .eyebrow {
    margin-bottom: 20px;
}

.section-heading h2 {
    max-width: 550px;
}

.section-note {
    max-width: 220px;
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.process-card {
    position: relative;
    min-height: 280px;
    padding: 24px 20px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.card-number {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.card-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    margin: 34px 0 24px;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 23px;
}

.process-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.process-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
}

/* MARKETS */

.markets h2 {
    margin-bottom: 42px;
}

.market-list {
    border-top: 1px solid var(--border);
}

.market-row {
    display: grid;
    grid-template-columns: 90px 1fr 40px;
    align-items: center;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.market-code {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.market-info h3 {
    margin: 0 0 7px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.6px;
}

.market-info p {
    max-width: 510px;
    margin: 0;
    font-size: 13px;
}

.market-index {
    justify-self: end;
    color: var(--muted);
    font-size: 11px;
}

/* MINDSET */

.mindset-content {
    max-width: 780px;
    margin: 0 auto 75px;
    text-align: center;
}

.quote-mark {
    display: block;
    height: 60px;
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 88px;
    line-height: 1;
}

blockquote {
    margin: 25px 0;
    font-size: clamp(27px, 4.2vw, 46px);
    font-weight: 550;
    letter-spacing: -2px;
    line-height: 1.25;
}

.quote-caption {
    color: var(--muted);
    font-size: 12px;
}

.principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 45px;
    border-top: 1px solid var(--border);
}

.principles > div {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 21px 0;
    border-bottom: 1px solid var(--border);
}

.principles span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
}

.principles p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

/* CLOSING */

.journal {
    padding-bottom: 125px;
}

.journal h2 {
    font-size: clamp(36px, 6vw, 66px);
}

.journal-copy {
    max-width: 480px;
    margin: 25px 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--text);
    font-size: 13px;
    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 16px;
}

.text-link span {
    color: var(--accent);
}

/* FOOTER */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 27px 7%;
    border-top: 1px solid var(--border);
}

.site-footer > span,
.site-footer > a:last-child {
    color: var(--muted);
    font-size: 11px;
}

.site-footer > a:last-child:hover {
    color: var(--text);
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .section,
    .hero {
        width: 88%;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-card {
        min-height: 245px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }

    .section-note {
        max-width: 360px;
    }
}



    .hero {
        padding-top: 80px;
        padding-bottom: 75px;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 68px);
    }

    .hero-meta {
        gap: 14px;
        font-size: 8px;
    }

    .chart-art {
        margin-top: 45px;
        padding: 16px 13px 13px;
    }

    .chart-grid {
        height: 190px;
    }

    .chart-topline,
    .chart-bottomline {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .candle {
        width: 6px;
    }

    .candle::before {
        left: 3px;
    }

    .chart-label {
        padding: 5px 6px;
        font-size: 6px;
    }

    .section {
        padding-block: 75px;
    }

    h2 {
        letter-spacing: -1.6px;
    }

    .process-grid {
        gap: 9px;
    }

    .process-card {
        min-height: 250px;
        padding: 18px 14px;
    }

    .card-symbol {
        width: 38px;
        height: 38px;
        margin: 27px 0 19px;
    }

    .process-card h3 {
        font-size: 16px;
    }

    .process-card p {
        font-size: 11px;
    }

    .market-row {
        grid-template-columns: 54px 1fr 22px;
        gap: 13px;
        padding: 22px 0;
    }

    .market-code {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .market-info h3 {
        font-size: 17px;
    }

    .market-info p {
        font-size: 12px;
    }

    .principles {
        grid-template-columns: 1fr;
    }

    blockquote {
        letter-spacing: -1px;
    }

    .site-footer {
        flex-wrap: wrap;
        padding-inline: 6%;
    }

    .site-footer > span {
        order: 3;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
