@charset "utf-8";
/* CSS Document */

:root {
    --ink:#17202a;
    --muted:#637083;
    --line:#dde5ee;
    --brand:#fd5803;
    --brand-dark:#0b2f73;
    --success:#138a53;
    --shadow:0 18px 45px rgba(20,41,82,.10);
    --radius:22px;
}
* { box-sizing:border-box; }
body {
    margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:var(--ink);
    background:linear-gradient(180deg,#eef5ff 0%,#ffffff 42%,#f7f9fc 100%);
    line-height:1.55;
}
a { color:inherit; text-decoration:none; }

.site-header {
    padding:16px clamp(18px,4vw,54px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0px;
    background:rgba(255,255,255,.92);
    border-bottom:1px solid rgba(221,229,238,.95);
    box-shadow:0 6px 18px rgba(20,41,82,.05);
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(10px);
}
.logo { height:44px; width:auto; display:block; }

.menu-toggle {
    display:none;
    border:1px solid var(--line);
    background:white;
    color:var(--brand-dark);
    border-radius:999px;
    padding:8px 12px;
    font-weight:900;
    cursor:pointer;
}

.section {
    max-width:1180px;
    margin:0 auto;
    padding:36px clamp(18px,4vw,36px);
}

.hero {
    max-width:1180px;
    margin:28px auto 0;
    padding:70px clamp(22px,6vw,70px);
    border-radius:var(--radius);
    border:1px solid rgba(221,229,238,.95);
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
        radial-gradient(circle at 80% 20%, #d7e8ff 0, transparent 34%),
        radial-gradient(circle at 10% 90%, #edf5ff 0, transparent 36%);
    box-shadow:var(--shadow);
    text-align:center;
}

.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
    padding:7px 12px;
    border:1px solid #d8e5ff;
    background:#edf5ff;
    border-radius:999px;
    color:var(--brand-dark);
    font-weight:800;
    font-size:.82rem;
}

h1 {
    margin:0 auto 18px;
    max-width:920px;
    font-size:clamp(2.45rem,7vw,5.8rem);
    line-height:.95;
    letter-spacing:-.075em;
}

.hero-summary {
    max-width:780px;
    margin:0 auto 30px;
    color:#344054;
    font-size:clamp(1.05rem,1.7vw,1.28rem);
}

.hero-actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:13px 20px;
    font-weight:900;
    border:1px solid transparent;
    cursor:pointer;
}

.btn-primary { background:var(--brand); color:white; }
.btn-secondary { background:white; color:var(--brand-dark); border-color:var(--line); }

.panel,
.card {
    background:rgba(255,255,255,.92);
    border:1px solid rgba(221,229,238,.95);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.panel { padding:30px; }

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

.card { padding:22px; }

.card h3 {
    margin:0 0 8px;
    font-size:1.12rem;
    letter-spacing:-.03em;
}

.card p {
    margin:0;
    color:var(--muted);
}

h2 {
    margin:0 0 14px;
    font-size:clamp(1.55rem,3vw,2.35rem);
    letter-spacing:-.05em;
}

.section-lead {
    margin:0 0 18px;
    max-width:760px;
    color:var(--muted);
    font-size:1.02rem;
}

.score-list {
    display:grid;
    gap:12px;
}

.score-row {
    display:grid;
    grid-template-columns:190px 1fr;
    gap:14px;
    align-items:center;
}

.score-label {
    font-weight:900;
}

.score-bar {
    height:12px;
    background:#e8edf4;
    border-radius:999px;
    overflow:hidden;
}

.score-fill {
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--brand),var(--success));
}

.trade-list {
    display:grid;
    gap:10px;
}

.trade-link {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:16px;
    background:#fff;
    border:1px solid var(--line);
}

.trade-link strong { color:var(--ink); }
.trade-link span { color:var(--success); font-weight:900; }

.note {
    margin-top:14px;
    padding-top:10px;
    border-top:1px solid rgba(0,0,0,.06);
    color:var(--muted);
    font-size:.88rem;
}

.footer {	text-align: center;
            max-width: 1180px;
            margin: 30px auto 0;
            padding: 32px clamp(18px, 4vw, 36px) 44px;
            color: var(--muted);
            font-size: .9rem;
        }
        .footer a{
            color: var(--muted);
            font-size: .9rem;
        }        
		.footer a:visited{
            color: var(--muted);
            font-size: .9rem;
        }

@media (max-width:900px) {
    .menu-toggle { display:inline-flex; }

  

    .site-header { flex-wrap:wrap; }

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

    .score-row {
        grid-template-columns:1fr;
        gap:6px;
    }

    .hero {
        margin:16px clamp(18px,4vw,36px) 0;
        padding:52px 22px;
    }
}
.hero {
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.0) 0%,
            rgba(255,255,255,0.45) 25%,
            rgba(255,255,255,0.90) 50%,
            #ffffff 100%
        ),
        url('../images/ariBG.webp');

    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
	background-position: center -90px;
}
.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -90px 0 0 0;
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.0) 0%,
            rgba(255,255,255,0.45) 25%,
            rgba(255,255,255,0.90) 50%,
            #ffffff 100%
        ),
        url('../images/ariBG.webp');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}/* Final shared header override */
.site-header .logo {
    height: 56px !important;
    width: auto !important;
    max-height: none !important;
    display: block;
}
.top-nav a {
    color: #637083 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.top-nav a.active {
    color: #fd5803 !important;
    font-weight: 800 !important;
}

.top-nav a:hover {
    color: #fd5803 !important;
    text-decoration: none !important;
}
.top-nav {
    display: flex;
    align-items: center;
    gap: 0px;
}

.top-nav a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 76px;
    text-align: center;
}
.top-nav a[href="/"] {
    min-width: 64px;
}

.top-nav a[href="/quiz.php"] {
    min-width: 64px;
}

.top-nav a[href="/#trades"] {
    min-width: 74px;
}

.top-nav a[href="/ari.php"] {
    min-width: 68px;
}

.top-nav a[href="/contact.php"] {
    min-width: 82px;
}

@media (max-width: 760px) {

    /* NAV CONTAINER */
    .top-nav {
        display: flex;                  /* always flex (important for animation) */
        flex-direction: column;
        align-items: flex-start;
        width: 100%;

        margin-top: 16px;
        padding-top: 0;
        border-top: none;

        /* animation setup */
        max-height: 0;
        opacity: 0;
        overflow: hidden;

        transform: translateY(-8px);
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease,
            padding-top 0.25s ease,
            border-top 0.25s ease;
    }

    /* OPEN STATE */
    .top-nav.open {
        max-height: 400px;              /* large enough for all links */
        opacity: 1;
        transform: translateY(0);

        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    /* LINKS */
    .top-nav a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 0;
        font-size: 1.1rem;
        justify-content: flex-start;

        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .top-nav a:last-child {
        border-bottom: none;
    }

    /* MENU BUTTON */
    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }
}

/* AI Pressure row in ARI calculation section */
.score-row-pressure .score-label {
    color: #b45309;
    font-weight: 900;
}

.score-bar-pressure {
    background: #e5e7eb;
}

.score-fill-pressure {
    background: linear-gradient(90deg, #f59e0b, #f97316, #dc2626);
}

/* Small explanation under score graphic */
.ai-pressure-note {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--muted);
}

/* Visual explainer for higher AI pressure section */
.pressure-explainer {
    margin: 18px 0 22px;
    padding: 18px 20px;
    border: 1px solid #fed7aa;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-radius: 16px;
}

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

.pressure-explainer-head strong {
    color: #b45309;
    font-size: 1rem;
}

.pressure-explainer-head span {
    color: #9a3412;
    font-size: 0.92rem;
    font-weight: 700;
}

.pressure-meter {
    height: 12px;
    border-radius: 999px;
    background: #fde7d8;
    overflow: hidden;
    margin-bottom: 12px;
}

.pressure-meter-fill {
    width: 88%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #f97316, #dc2626);
}

.pressure-explainer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* Mobile */
@media (max-width: 700px) {
    .pressure-explainer {
        padding: 16px;
    }

    .pressure-explainer-head {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    .site-header {
        min-height: 74px;          /* reduce overall bar height */
        padding: 10px 18px;        /* reduce top/bottom space */
        align-items: center;
    }

    .brand {
        display: flex;
        align-items: center;
    }

    .logo {
        max-height: 54px;          /* adjust logo height */
        width: auto;
    }

    .menu-toggle {
        padding: 9px 16px;
        line-height: 1;
    }
}

/* Mobile header height cleanup */
@media (max-width: 760px) {
    .site-header {
        padding: 8px 18px !important;
        gap: 8px;
        align-items: center;
    }

    .site-header .logo {
        height: 46px !important;
        width: auto !important;
    }

    .menu-toggle {
        padding: 8px 14px;
        line-height: 1;
    }

    .top-nav {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
        max-height: 0;
    }

    .top-nav.open {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid var(--line) !important;
        max-height: 400px;
    }
}
