/* =============================================================================
   EQT PROTOCOL — Redesign Theme Design System
   Premium dark fintech system. Vantage-inspired direction, EQT identity.
   Self-contained: only depends on the Inter font + Font Awesome (loaded in
   the redesign layout). Used by the eqt_redesign theme's user-side pages.
   ========================================================================== */

:root {
    /* Surfaces */
    --eqt-bg: #080808;
    --eqt-bg-2: #0c0c0e;
    --eqt-surface: #141416;
    --eqt-surface-2: #121214;
    --eqt-surface-3: #1a1a1c;
    --eqt-border: rgba(255, 255, 255, 0.08);
    --eqt-border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --eqt-text: #f4f7fb;
    --eqt-text-muted: #a0a0aa;
    --eqt-text-dim: #6e6e78;

    /* Brand + status */
    --eqt-accent: #ff6a1f;
    --eqt-accent-2: #ec5a10;
    --eqt-accent-soft: rgba(255, 106, 31, 0.12);
    --eqt-positive: #16c784;
    --eqt-negative: #ea3943;
    --eqt-warning: #f5a623;
    --eqt-info: #4c8dff;

    /* Radius */
    --eqt-r-xs: 8px;
    --eqt-r-sm: 10px;
    --eqt-r-md: 14px;
    --eqt-r-lg: 20px;
    --eqt-r-pill: 999px;

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    --eqt-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    --eqt-shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.32);
    --eqt-maxw: 1200px;
    --eqt-app-maxw: 1440px;
    --eqt-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.eqt-body {
    margin: 0;
    background: var(--eqt-bg);
    color: var(--eqt-text);
    font-family: var(--eqt-font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
}

.eqt-body a {
    color: inherit;
    text-decoration: none;
}

.eqt-num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* ---------- Layout ---------- */
.eqt-container {
    width: 100%;
    max-width: var(--eqt-maxw);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

.eqt-section {
    padding: var(--sp-16) 0;
}

.eqt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--eqt-accent);
    background: var(--eqt-accent-soft);
    border: 1px solid rgba(255, 106, 31, 0.25);
    padding: 6px 12px;
    border-radius: var(--eqt-r-pill);
}

.eqt-h1 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: var(--sp-5) 0 var(--sp-4);
}

.eqt-h2 {
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0 0 var(--sp-4);
}

.eqt-h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 var(--sp-2);
}

.eqt-page-title {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.eqt-section-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.eqt-card-title {
    font-size: 16px;
    font-weight: 650;
    margin: 0;
}

.eqt-meta {
    font-size: 12.5px;
    color: var(--eqt-text-dim);
}

.eqt-lead {
    color: var(--eqt-text-muted);
    font-size: clamp(15px, 1.4vw, 18px);
    max-width: 620px;
}

.eqt-muted {
    color: var(--eqt-text-muted);
}

.eqt-accent-text {
    color: var(--eqt-accent);
}

/* ---------- Buttons ---------- */
.eqt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    height: 44px;
    padding: 0 var(--sp-5);
    border-radius: var(--eqt-r-sm);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease, color .15s ease;
    white-space: nowrap;
    color: inherit;
}

.eqt-btn:disabled,
.eqt-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.eqt-btn--primary,
a.eqt-btn--primary,
a.eqt-btn--primary:visited,
button.eqt-btn--primary {
    background: var(--eqt-accent);
    color: #ffffff;
}

.eqt-btn--primary:hover,
a.eqt-btn--primary:hover,
button.eqt-btn--primary:hover {
    background: var(--eqt-accent-2);
    color: #ffffff;
}

.eqt-btn--secondary {
    background: var(--eqt-surface-2);
    color: var(--eqt-text);
    border-color: var(--eqt-border-strong);
}

.eqt-btn--secondary:hover {
    background: var(--eqt-surface-3);
}

.eqt-btn--ghost {
    background: transparent;
    color: var(--eqt-text);
    border-color: var(--eqt-border-strong);
}

.eqt-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.04);
}

.eqt-btn--text {
    background: transparent;
    border-color: transparent;
    color: var(--eqt-accent);
    height: auto;
    padding: 0;
}

.eqt-btn--text:hover {
    color: var(--eqt-accent-2);
}

.eqt-btn--danger {
    background: transparent;
    color: var(--eqt-negative);
    border-color: rgba(234, 57, 67, 0.4);
}

.eqt-btn--danger:hover {
    background: rgba(234, 57, 67, 0.1);
}

.eqt-btn--sm {
    height: 36px;
    padding: 0 var(--sp-4);
    font-size: 13.5px;
}

.eqt-btn--lg {
    height: 52px;
    padding: 0 var(--sp-8);
    font-size: 16px;
}

.eqt-btn--block {
    width: 100%;
}

.eqt-btn--icon {
    width: 44px;
    padding: 0;
}

/* ---------- Navbar ---------- */
.eqt-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(14px);
    background: rgba(10, 14, 20, 0.72);
    border-bottom: 1px solid var(--eqt-border);
}

.eqt-nav__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    height: 72px;
}

.eqt-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.eqt-brand__logo {
    height: 32px;
    width: auto;
    max-width: min(46vw, 220px);
    display: block;
    object-fit: contain;
}

.eqt-brand__mark {
    display: inline-grid;
    place-items: center;
    height: 34px;
    width: 34px;
    border-radius: 9px;
    background: var(--eqt-accent);
    color: #ffffff;
    font-weight: 800;
}

.eqt-nav__links {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.eqt-nav__links a {
    color: var(--eqt-text-muted);
    font-size: 14.5px;
    font-weight: 500;
    transition: color .2s ease;
}

.eqt-nav__links a:hover {
    color: var(--eqt-text);
}

.eqt-nav__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.eqt-nav__toggle {
    display: none;
    background: var(--eqt-surface-2);
    border: 1px solid var(--eqt-border);
    color: var(--eqt-text);
    height: 42px;
    width: 42px;
    border-radius: var(--eqt-r-xs);
    font-size: 18px;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.eqt-hero {
    position: relative;
    padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 90px);
    overflow: hidden;
}

.eqt-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-12);
    align-items: center;
}

.eqt-hero__cta {
    display: flex;
    gap: var(--sp-3);
    flex-wrap: wrap;
    margin-top: var(--sp-8);
}

.eqt-hero__trust {
    display: flex;
    gap: var(--sp-8);
    margin-top: var(--sp-10);
    flex-wrap: wrap;
}

.eqt-hero__trust .k {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.eqt-hero__trust .l {
    font-size: 13px;
    color: var(--eqt-text-muted);
}

/* Portfolio preview card */
.eqt-portfolio {
    background: linear-gradient(180deg, var(--eqt-surface-2), var(--eqt-surface));
    border: 1px solid var(--eqt-border);
    border-radius: var(--eqt-r-lg);
    padding: var(--sp-6);
    box-shadow: var(--eqt-shadow);
}

.eqt-portfolio__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-2);
}

.eqt-portfolio__balance {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: var(--sp-1) 0 var(--sp-2);
}

.eqt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--eqt-r-pill);
    border: 1px solid transparent;
    background: none;
    font-family: inherit;
    cursor: pointer;
    color: inherit;
}

.eqt-chip--pos {
    color: var(--eqt-positive);
    background: rgba(22, 199, 132, 0.12);
}

.eqt-chip--neg {
    color: var(--eqt-negative);
    background: rgba(234, 57, 67, 0.12);
}

.eqt-spark {
    width: 100%;
    height: 96px;
    margin: var(--sp-4) 0;
}

.eqt-portfolio__rows {
    display: grid;
    gap: var(--sp-2);
}

.eqt-prow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-3);
    border-radius: var(--eqt-r-xs);
    background: var(--eqt-surface-3);
    border: 1px solid var(--eqt-border);
}

.eqt-prow .name {
    font-size: 14px;
    font-weight: 600;
}

.eqt-prow .sub {
    font-size: 12px;
    color: var(--eqt-text-dim);
}

/* ---------- Section header ---------- */
.eqt-sec-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--sp-10);
}

.eqt-sec-head .eqt-lead {
    margin: var(--sp-3) auto 0;
}

/* ---------- Cards grid ---------- */
.eqt-grid {
    display: grid;
    gap: var(--sp-5);
}

.eqt-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.eqt-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.eqt-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.eqt-card {
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: var(--eqt-r-md);
    padding: var(--sp-6);
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.eqt-card:hover {
    border-color: var(--eqt-border-strong);
}

.eqt-card__icon {
    display: inline-grid;
    place-items: center;
    height: 48px;
    width: 48px;
    border-radius: var(--eqt-r-sm);
    background: var(--eqt-accent-soft);
    color: var(--eqt-accent);
    font-size: 20px;
    margin-bottom: var(--sp-4);
}

/* Strategy card */
.eqt-strategy {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.eqt-strategy__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}

.eqt-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--eqt-text-muted);
    background: var(--eqt-surface-3);
    border: 1px solid var(--eqt-border);
    padding: 4px 10px;
    border-radius: var(--eqt-r-pill);
}

.eqt-strategy__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--eqt-border);
}

.eqt-strategy__stats .v {
    font-size: 16px;
    font-weight: 700;
}

.eqt-strategy__stats .k {
    font-size: 11.5px;
    color: var(--eqt-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Steps */
.eqt-steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
}

.eqt-step {
    position: relative;
    padding: var(--sp-6);
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: var(--eqt-r-md);
}

.eqt-step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    height: 36px;
    width: 36px;
    border-radius: var(--eqt-r-pill);
    background: var(--eqt-accent-soft);
    color: var(--eqt-accent);
    font-weight: 800;
    margin-bottom: var(--sp-4);
}

/* CTA band */
.eqt-cta {
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: var(--eqt-r-lg);
    padding: var(--sp-12);
    text-align: center;
}

/* ---------- Footer ---------- */
.eqt-footer {
    border-top: 1px solid var(--eqt-border);
    padding: var(--sp-12) 0 var(--sp-8);
    margin-top: var(--sp-16);
    background: var(--eqt-bg-2);
}

.eqt-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: var(--sp-8);
}

.eqt-footer h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--eqt-text-dim);
    margin: 0 0 var(--sp-4);
}

.eqt-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--sp-3);
}

.eqt-footer ul a {
    color: var(--eqt-text-muted);
    font-size: 14px;
}

.eqt-footer ul a:hover {
    color: var(--eqt-text);
}

.eqt-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-top: var(--sp-10);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--eqt-border);
    color: var(--eqt-text-dim);
    font-size: 13px;
    flex-wrap: wrap;
}

.eqt-disclaimer {
    color: var(--eqt-text-dim);
    font-size: 12.5px;
    line-height: 1.6;
    margin-top: var(--sp-4);
    max-width: 720px;
}

/* =============================================================================
   AUTH (login / register / forgot) — EQT Protocol prototype
   Exact hero.png on the story panel with orange glow.
   ========================================================================== */
body.eqt-auth-body {
    background: #080808;
}

.eqt-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #080808;
}

.eqt-auth__story {
    position: relative;
    padding: 42px 10%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(ellipse at 100% 55%, #6b280e80, transparent 65%), #111112;
}

@media (min-width: 769px) {
    .eqt-auth__story {
        position: sticky;
        top: 0;
        height: 100vh;
    }
}

.eqt-auth__story:before {
    content: '';
    position: absolute;
    inset: 20% -40% 0 0;
    background-image: var(--eqt-auth-art);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(1);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.eqt-auth__story > * {
    position: relative;
    z-index: 1;
}

.eqt-auth__wordmark {
    display: flex;
    align-items: center;
    gap: 11px;
    align-self: flex-start;
    color: #f6f6f8;
    white-space: nowrap;
}

.eqt-auth__wordmark img {
    height: 76px;
    width: auto;
    max-width: min(100%, 440px);
    display: block;
    object-fit: contain;
}

.eqt-auth__mark {
    display: grid;
    place-items: center;
    width: 41px;
    height: 43px;
    color: #f6f6f8;
    flex-shrink: 0;
}

.eqt-auth__mark svg {
    width: 37px;
    height: 41px;
}

.eqt-auth__wordmark strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.1;
}

.eqt-auth__wordmark small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #96969e;
    margin-top: 3px;
}

.eqt-auth__story-body {
    margin: auto 0;
    padding: 28px 0;
}

.eqt-auth__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--eqt-accent);
}

.eqt-auth__headline {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 750;
    margin: 20px 0;
}

.eqt-auth__headline span {
    color: var(--eqt-accent);
}

.eqt-auth__story p {
    font-size: 15px;
    max-width: 400px;
    color: #b4b4be;
    line-height: 1.7;
    margin: 0;
}

.eqt-auth__points {
    display: grid;
    gap: 18px;
    margin: 30px 0 0;
}

.eqt-auth__points div {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #c6cfdd;
}

.eqt-auth__points i,
.eqt-auth__pticon {
    color: #ff9c62;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.eqt-auth__story small {
    font-size: 12px;
    color: var(--eqt-text-dim);
}

.eqt-auth__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(24px, 6vw, 100px);
    background: #080808;
}

.eqt-auth__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: var(--eqt-text-muted);
    margin-bottom: 20px;
}

.eqt-auth__back:hover {
    color: var(--eqt-accent);
}

.eqt-auth__title {
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: 20px 0 10px;
}

.eqt-auth__lead {
    font-size: 14px;
    color: var(--eqt-text-muted);
    margin: 0 0 25px;
    max-width: 500px;
}

.eqt-auth__form {
    max-width: 500px;
    width: 100%;
}

.eqt-auth .eqt-form-row > .eqt-field:only-child {
    grid-column: 1 / -1;
}

.eqt-auth__main .eqt-input,
.eqt-auth__main .eqt-select,
.eqt-auth__main .eqt-textarea {
    background: #101012;
    border-color: #303033;
    border-radius: 16px;
    min-height: 50px;
    height: 50px;
}

.eqt-auth__main .eqt-textarea {
    height: auto;
    min-height: 96px;
}

.eqt-auth__main .eqt-input-group__addon {
    background: #171719;
    border-color: #303033;
    border-radius: 16px 0 0 16px;
}

.eqt-auth__main .eqt-input-group .eqt-input {
    border-radius: 0 16px 16px 0;
}

.eqt-auth__main .eqt-label {
    font-size: 14px;
    color: #bac4d4;
}

.eqt-auth__main .eqt-input-icon {
    color: #6e6e78;
}

.eqt-auth__submit {
    min-height: 49px;
    height: 49px;
    border-radius: 999px;
    font-size: 16px;
    color: #12100d;
    margin-top: 4px;
}

.eqt-auth__submit:hover {
    color: #12100d;
}

.eqt-auth__stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    width: 100%;
}

.eqt-auth__submit.eqt-btn--ghost {
    color: var(--eqt-text);
    background: transparent;
    border: 1px solid #303033;
}

.eqt-auth__submit.eqt-btn--ghost:hover {
    color: var(--eqt-text);
    background: rgba(255, 255, 255, 0.04);
}

.eqt-auth__checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.eqt-auth__checks .eqt-check {
    font-size: 13px;
    align-items: flex-start;
}

.eqt-auth__checks .eqt-check input {
    min-height: 16px;
    margin-top: 2px;
}

.eqt-auth__checks a,
.eqt-body .eqt-auth__checks a {
    color: var(--eqt-accent);
    font-weight: 600;
}

.eqt-auth__checks a:hover {
    color: var(--eqt-accent-2);
    text-decoration: underline;
}

.eqt-alert--ok {
    background: rgba(22, 199, 132, 0.1);
    border-color: rgba(22, 199, 132, 0.3);
    color: #8eecc4;
}

/* Forms */
.eqt-field {
    margin-bottom: var(--sp-4);
}

.eqt-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--eqt-text-muted);
    margin-bottom: var(--sp-2);
}

.eqt-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.eqt-input,
.eqt-select,
.eqt-textarea {
    width: 100%;
    height: 50px;
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: var(--eqt-r-sm);
    color: var(--eqt-text);
    font-family: inherit;
    font-size: 15px;
    padding: 0 var(--sp-4);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
}

.eqt-textarea {
    height: auto;
    padding: var(--sp-3) var(--sp-4);
    resize: vertical;
    min-height: 96px;
}

.eqt-input:focus,
.eqt-select:focus,
.eqt-textarea:focus {
    border-color: var(--eqt-accent);
    box-shadow: 0 0 0 3px var(--eqt-accent-soft);
    background: var(--eqt-surface-2);
}

.eqt-input::placeholder,
.eqt-textarea::placeholder {
    color: var(--eqt-text-dim);
}

.eqt-input--icon {
    padding-right: 46px;
}

.eqt-input-icon {
    position: absolute;
    right: var(--sp-4);
    color: var(--eqt-text-dim);
    cursor: pointer;
    font-size: 15px;
}

.eqt-input-group {
    display: flex;
    align-items: stretch;
}

.eqt-input-group__addon {
    display: inline-flex;
    align-items: center;
    padding: 0 var(--sp-3);
    background: var(--eqt-surface-3);
    border: 1px solid var(--eqt-border);
    border-right: none;
    border-radius: var(--eqt-r-sm) 0 0 var(--eqt-r-sm);
    color: var(--eqt-text-muted);
    font-size: 14px;
    white-space: nowrap;
}

.eqt-input-group .eqt-input {
    border-radius: 0 var(--eqt-r-sm) var(--eqt-r-sm) 0;
}

.eqt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.eqt-check {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--eqt-text-muted);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.eqt-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--eqt-accent);
}

.eqt-auth__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: var(--sp-2) 0 var(--sp-6);
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.eqt-auth__meta a {
    color: var(--eqt-text-muted);
    font-weight: 500;
    font-size: 13px;
}

.eqt-auth__meta a:hover {
    color: var(--eqt-accent);
}

.eqt-auth__switch {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 22px;
    color: var(--eqt-text-muted);
    font-size: 14px;
    max-width: 500px;
}

.eqt-auth__switch a {
    color: #ff985b;
    font-weight: 600;
}

.eqt-alert {
    background: rgba(234, 57, 67, 0.1);
    border: 1px solid rgba(234, 57, 67, 0.3);
    color: #ffb4b9;
    border-radius: var(--eqt-r-sm);
    padding: var(--sp-3) var(--sp-4);
    font-size: 13.5px;
    margin-bottom: var(--sp-4);
}

.eqt-alert--success {
    background: rgba(22, 199, 132, 0.1);
    border-color: rgba(22, 199, 132, 0.3);
    color: #7ee0b8;
}

.eqt-alert--warning {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.3);
    color: #f5c56b;
}

.eqt-alert--info {
    background: rgba(76, 141, 255, 0.1);
    border-color: rgba(76, 141, 255, 0.3);
    color: #9bbcff;
}

.eqt-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    cursor: pointer;
    font-size: 14px;
    color: var(--eqt-text-muted);
}

.eqt-toggle input {
    appearance: none;
    width: 40px;
    height: 22px;
    border-radius: var(--eqt-r-pill);
    background: var(--eqt-surface-3);
    border: 1px solid var(--eqt-border);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.eqt-toggle input::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--eqt-text-muted);
    transition: transform .15s ease, background .15s ease;
}

.eqt-toggle input:checked {
    background: var(--eqt-accent-soft);
    border-color: var(--eqt-accent);
}

.eqt-toggle input:checked::after {
    transform: translateX(18px);
    background: var(--eqt-accent);
}

.eqt-radio,
.eqt-check {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--eqt-text-muted);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.eqt-hint {
    font-size: 12.5px;
    color: var(--eqt-text-dim);
    margin-top: 6px;
}

.eqt-error {
    font-size: 12.5px;
    color: var(--eqt-negative);
    margin-top: 6px;
}

.eqt-upload {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--eqt-surface);
    border: 1px dashed var(--eqt-border-strong);
    border-radius: var(--eqt-r-sm);
    color: var(--eqt-text-muted);
    cursor: pointer;
    font-size: 14px;
}

.eqt-upload input {
    display: none;
}

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .eqt-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .eqt-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .eqt-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .eqt-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .eqt-auth__headline {
        font-size: 34px;
    }

    .eqt-auth__story,
    .eqt-auth__main {
        padding: 36px 35px;
    }

    .eqt-auth__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .eqt-nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
        padding: var(--sp-6);
        background: var(--eqt-bg-2);
        border-bottom: 1px solid var(--eqt-border);
    }

    .eqt-nav__links.is-open {
        display: flex;
    }

    .eqt-nav__toggle {
        display: inline-grid;
        place-items: center;
    }

    .eqt-grid--3,
    .eqt-grid--4,
    .eqt-grid--2 {
        grid-template-columns: 1fr;
    }

    .eqt-strategy__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .eqt-form-row {
        grid-template-columns: 1fr;
    }

    .eqt-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-6);
    }

    .eqt-section {
        padding: var(--sp-12) 0;
    }

    .eqt-auth {
        display: block;
    }

    .eqt-auth__story {
        padding: 27px 24px;
        min-height: 240px;
    }

    .eqt-auth__wordmark img {
        height: 52px;
    }

    .eqt-auth__story:before {
        inset: 0 -10% 0 25%;
    }

    .eqt-auth__points,
    .eqt-auth__story small {
        display: none;
    }

    .eqt-auth__headline {
        font-size: 29px;
        margin-top: 28px;
    }

    .eqt-auth__story p {
        font-size: 13px;
    }

    .eqt-auth__main {
        padding: 24px 24px 42px;
    }

    .eqt-auth__title {
        font-size: 31px;
    }

    .eqt-cta {
        padding: var(--sp-8) var(--sp-5);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Modern app toasts ---------- */
.eqt-body .notifications-container {
    max-width: min(400px, calc(100vw - 32px));
    z-index: 220;
}

.eqt-body .notifications-container.notify-is-x-center.notify-is-bottom {
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
}

.eqt-body .notifications-container.notify-is-x-center.notify-is-top {
    top: 16px;
}

.eqt-body .notify-live,
.eqt-body .notify-live.eqt-toast {
    --notify-padding: 14px 16px;
    --notify-icon-size: 34px;
    --notify-close-icon-size: 14px;
    --notify-success: #3dd68c;
    --notify-success-progress: #3dd68c;
    --notify-info: #ff8a4a;
    --notify-info-progress: #ff8a4a;
    --notify-warning: #f5c14a;
    --notify-warning-progress: #f5c14a;
    --notify-error: #ff6b7a;
    --notify-error-progress: #ff6b7a;
    align-items: center;
    background: rgba(30, 30, 32, 0.94);
    border: 1px solid #464649;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px);
    color: #f4f4f6;
    padding: 14px 16px;
    overflow: hidden;
}

.eqt-body .notify-live.notify-autoclose {
    padding-bottom: 16px;
}

.eqt-body .notify-live.notify-autoclose::before {
    --progress-height: 2px;
    height: 2px;
    opacity: 0.85;
}

.eqt-body .notify--type-1 {
    background: rgba(30, 30, 32, 0.94);
    border: 1px solid #464649;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.eqt-body .notify__icon {
    margin-right: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: currentColor;
}

.eqt-body .notify--success .notify__icon { color: #3dd68c; background: rgba(61, 214, 140, 0.14); }
.eqt-body .notify--info .notify__icon { color: #ff8a4a; background: rgba(255, 106, 31, 0.16); }
.eqt-body .notify--warning .notify__icon { color: #f5c14a; background: rgba(245, 193, 74, 0.16); }
.eqt-body .notify--error .notify__icon { color: #ff6b7a; background: rgba(255, 107, 122, 0.16); }

.eqt-body .notify__title {
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    padding-right: 22px;
    text-transform: none;
}

.eqt-body .notify__text {
    color: #c5c5ce;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 2px;
}

.eqt-body .notify__text:empty {
    display: none;
}

.eqt-body .notify__close {
    color: #9b9ba5;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
}

.eqt-body .notify--type-1 .notify__close,
.eqt-body .notify--type-1 .notify__title,
.eqt-body .notify--type-1 .notify__text {
    color: inherit;
}

.eqt-body .notify--type-1 .notify__title { color: #fff; }
.eqt-body .notify--type-1 .notify__text { color: #c5c5ce; }

.eqt-body > .notify.fixed {
    z-index: 220 !important;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 16px 0 !important;
}

.eqt-body > .notify.fixed > div {
    background: rgba(30, 30, 32, 0.94) !important;
    border: 1px solid #464649 !important;
    border-left-width: 1px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px);
    overflow: hidden;
    max-width: min(400px, calc(100vw - 32px));
}

.eqt-body > .notify.fixed .p-4 {
    padding: 14px 16px;
}

.eqt-body > .notify.fixed .inline-flex.items-center.rounded-full {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08) !important;
}

.eqt-body > .notify.fixed .bg-green-600 { color: #3dd68c !important; background: rgba(61, 214, 140, 0.16) !important; }
.eqt-body > .notify.fixed .bg-yellow-400 { color: #f5c14a !important; background: rgba(245, 193, 74, 0.16) !important; }
.eqt-body > .notify.fixed .bg-blue-600 { color: #ff8a4a !important; background: rgba(255, 106, 31, 0.16) !important; }
.eqt-body > .notify.fixed .bg-red-600 { color: #ff6b7a !important; background: rgba(255, 107, 122, 0.16) !important; }

.eqt-body > .notify.fixed p.text-base.capitalize,
.eqt-body > .notify.fixed p.text-base {
    display: none;
}

.eqt-body > .notify.fixed p.text-sm,
.eqt-body > .notify.fixed p.text-gray-500 {
    color: #fff !important;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-top: 0 !important;
}

.eqt-body > .notify.fixed button {
    color: #9b9ba5 !important;
}

@media (max-width: 900px) {
    .eqt-body > .notify.fixed {
        align-items: flex-end;
        padding: 0 16px calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Android install / PWA banner */
.eqt-install {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 44px 12px 12px;
    border-radius: 18px;
    background: #1e1e20f5;
    border: 1px solid #464649;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    color: #f4f4f6;
}

.eqt-install[hidden] {
    display: none !important;
}

.eqt-install__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.eqt-install__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.eqt-install__copy strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eqt-install__copy span {
    font-size: 12px;
    color: #a8a8b3;
    line-height: 1.35;
}

.eqt-install__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.eqt-install__x {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9b9ba5;
    cursor: pointer;
}

.eqt-install__x:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .eqt-body:has(.eqt-bottomnav) .eqt-install {
        bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }

    body.eqt-has-install .eqt-content {
        padding-bottom: 190px;
    }
}

@media (display-mode: standalone) {
    .eqt-install {
        display: none !important;
    }
}

/* Marketplace product detail */
.eqt-mpd {
    padding: 36px 0 72px;
}

.eqt-mpd__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eqt-text-muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.eqt-mpd__back:hover {
    color: var(--eqt-accent);
}

.eqt-mpd__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.eqt-mpd__hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.eqt-mpd__mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #3a2418, #1a1512);
    border: 1px solid #4d3323;
    color: var(--eqt-accent);
    font-size: 26px;
    flex-shrink: 0;
}

.eqt-mpd__type {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff9960;
}

.eqt-mpd__cat {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--eqt-text-muted);
}

.eqt-mpd__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0 0 14px;
}

.eqt-mpd__desc {
    color: var(--eqt-text-muted);
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-line;
    margin: 0 0 32px;
    max-width: 640px;
}

.eqt-mpd__h {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.eqt-mpd__h--more {
    margin-top: 48px;
}

.eqt-mpd__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.eqt-mpd__features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: 16px;
}

.eqt-mpd__features i {
    color: var(--eqt-accent);
    margin-top: 3px;
    width: 18px;
}

.eqt-mpd__features strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.eqt-mpd__features span {
    display: block;
    font-size: 13px;
    color: var(--eqt-text-muted);
    line-height: 1.45;
}

.eqt-mpd__buy {
    position: sticky;
    top: 88px;
    background: linear-gradient(160deg, #1c1612, #121214);
    border: 1px solid #3d2c22;
    border-radius: 22px;
    padding: 24px;
    display: grid;
    gap: 12px;
}

.eqt-mpd__price span {
    display: block;
    font-size: 12px;
    color: var(--eqt-text-muted);
    margin-bottom: 4px;
}

.eqt-mpd__price strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.eqt-mpd__owned {
    background: rgba(22, 199, 132, 0.08);
    border: 1px solid rgba(22, 199, 132, 0.22);
    border-radius: 14px;
    padding: 14px;
}

.eqt-mpd__owned strong {
    display: block;
    margin-bottom: 6px;
}

.eqt-mpd__owned p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--eqt-text-muted);
}

.eqt-mpd__wallet {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--eqt-text-dim);
    line-height: 1.45;
}

.eqt-mpd__wallet.is-low {
    color: #f5c14a;
}

.eqt-mpd__wallet a {
    color: var(--eqt-accent);
    font-weight: 600;
}

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

.eqt-mpd__rel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--eqt-surface);
    border: 1px solid var(--eqt-border);
    border-radius: 16px;
}

.eqt-mpd__rel:hover {
    border-color: #4d3323;
}

.eqt-mpd__rel-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--eqt-accent-soft);
    color: var(--eqt-accent);
    flex-shrink: 0;
}

.eqt-mpd__rel span {
    min-width: 0;
    flex: 1;
}

.eqt-mpd__rel em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--eqt-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eqt-mpd__rel strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

.eqt-mpd__rel b {
    font-size: 14px;
    color: var(--eqt-accent);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .eqt-mpd {
        padding: 24px 0 48px;
    }

    .eqt-mpd__grid,
    .eqt-mpd__related {
        grid-template-columns: 1fr;
    }

    .eqt-mpd__buy {
        position: static;
    }
}
