/* ==========================================================
   KRISPYGAUGE — support.css
   Styles specific to support.html
   Inherits all base styles from styles.css
   ========================================================== */


/* ==========================================================
   NAV — Active link state for current page
   ========================================================== */
.nav-link-active {
    color: var(--amber) !important;
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
    border-radius: 1px;
}


/* ==========================================================
   PAGE HERO
   ========================================================== */
.support-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-h);
    background: var(--bg);
}

.support-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    width: 100%;
    padding: 5rem 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: flex-start;
}

.support-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    color: var(--text);
}

.support-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-transform: none;
}

.support-hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 520px;
    font-weight: 300;
}

.support-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

/* Bottom border line on hero */
.support-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.3), transparent);
}


/* ==========================================================
   SUPPORT SECTIONS
   ========================================================== */
.support-section {
    background: var(--bg);
}

.support-section--alt {
    background: var(--bg-alt);
    position: relative;
}
.support-section--alt::before,
.support-section--alt::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
}
.support-section--alt::before {
    top: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.2), transparent);
}
.support-section--alt::after {
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.2), transparent);
}


/* ==========================================================
   INLINE LINKS
   ========================================================== */
.link-amber {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 140, 0, 0.35);
    transition: border-color 0.2s, color 0.2s;
}
.link-amber:hover {
    color: var(--amber-light);
    border-bottom-color: var(--amber-light);
}


/* ==========================================================
   STEP CARDS
   ========================================================== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3.5rem;
    border: 1px solid rgba(255, 140, 0, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
}

.step-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
    transition: background 0.25s;
}
.step-card:last-child { border-bottom: none; }
.step-card:hover { background: var(--bg-card-h); }

.step-num {
    padding: 2.5rem 2rem;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(255, 140, 0, 0.18);
    line-height: 1;
    border-right: 1px solid rgba(255, 140, 0, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    transition: color 0.25s;
}
.step-card:hover .step-num {
    color: rgba(255, 140, 0, 0.35);
}

.step-content {
    padding: 2.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.step-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.72;
}


/* ==========================================================
   WIRING TABLE
   ========================================================== */
.wiring-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 140, 0, 0.12);
    border-radius: var(--radius);
}

.wiring-table {
    width: 100%;
    border-collapse: collapse;
}
.wiring-table th {
    padding: 0.8rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    background: rgba(255, 140, 0, 0.05);
    border-bottom: 1px solid rgba(255, 140, 0, 0.15);
    text-align: left;
}
.wiring-table td {
    padding: 0.85rem 1.2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 140, 0, 0.06);
    vertical-align: middle;
}
.wiring-table tr:last-child td { border-bottom: none; }
.wiring-table tr:hover td { background: rgba(255, 140, 0, 0.02); }

.wire {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
    white-space: nowrap;
}
.wire::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wire--red   { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.3); }
.wire--red::before   { background: #ff6b6b; box-shadow: 0 0 6px rgba(255, 107, 107, 0.6); }

.wire--black { color: #aaaaaa; background: rgba(170, 170, 170, 0.08); border: 1px solid rgba(170, 170, 170, 0.2); }
.wire--black::before { background: #555; box-shadow: 0 0 6px rgba(100,100,100,0.4); }

.wire--yellow { color: #ffd93d; background: rgba(255, 217, 61, 0.1); border: 1px solid rgba(255, 217, 61, 0.3); }
.wire--yellow::before { background: #ffd93d; box-shadow: 0 0 6px rgba(255, 217, 61, 0.6); }

.wire--green { color: #6bcb77; background: rgba(107, 203, 119, 0.1); border: 1px solid rgba(107, 203, 119, 0.3); }
.wire--green::before { background: #6bcb77; box-shadow: 0 0 6px rgba(107, 203, 119, 0.5); }


/* ==========================================================
   CALLOUT BOXES
   ========================================================== */
.callout {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: 1.65;
}

.callout--amber {
    background: rgba(255, 140, 0, 0.07);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-left: 3px solid var(--amber);
    color: var(--text-muted);
}
.callout--amber strong { color: var(--amber); }

.callout--info {
    background: rgba(136, 136, 136, 0.06);
    border: 1px solid rgba(136, 136, 136, 0.18);
    border-left: 3px solid rgba(136, 136, 136, 0.5);
    color: var(--text-muted);
}

.callout-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.callout p { margin: 0; }
.callout p + p { margin-top: 0.5rem; }


/* ==========================================================
   DOC LISTS
   ========================================================== */
.doc-list {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.doc-list li {
    padding-left: 1.35rem;
    position: relative;
}
.doc-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
    font-size: 0.75rem;
    top: 0.05em;
}

.doc-list--ordered {
    counter-reset: doc-counter;
}
.doc-list--ordered li {
    counter-increment: doc-counter;
}
.doc-list--ordered li::before {
    content: counter(doc-counter) '.';
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    top: 0.15em;
}

.doc-list--spaced {
    gap: 1rem;
}

.doc-list code, .doc-list em {
    font-style: normal;
}

.doc-list strong { color: var(--text); font-weight: 600; }

.doc-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.55;
    margin-top: 0.1rem;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88em;
    background: rgba(255, 140, 0, 0.08);
    color: var(--amber-light);
    padding: 0.15em 0.45em;
    border-radius: 2px;
    border: 1px solid rgba(255, 140, 0, 0.15);
}


/* ==========================================================
   CODE BLOCKS
   ========================================================== */
.code-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 140, 0, 0.04);
    border: 1px solid rgba(255, 140, 0, 0.15);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
}

.code-block code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.92rem;
    color: var(--text);
    letter-spacing: 0.04em;
}

.code-block--highlight {
    border-color: var(--amber-border-strong);
    background: rgba(255, 140, 0, 0.07);
}
.code-block--highlight code {
    color: var(--amber);
    font-size: 1rem;
}

.code-block--terminal {
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0;
}
.code-block--terminal code {
    color: #c8ff47;
    font-size: 0.85rem;
}

.cb-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0.7;
    flex-shrink: 0;
    white-space: nowrap;
}


/* ==========================================================
   WEB UI SECTION
   ========================================================== */
.webui-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
    margin-top: 3.5rem;
}

.webui-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.webui-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(255, 140, 0, 0.08);
}
.webui-step:last-child { border-bottom: none; }

.ws-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ws-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.ws-body h4 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text);
    text-transform: uppercase;
}
.ws-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.68;
}


/* Web UI Mockup */
.webui-mockup {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(255, 140, 0, 0.06), 0 8px 40px rgba(0,0,0,0.4);
}

.wm-bar {
    background: #111;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wm-bar-dots {
    display: flex;
    gap: 5px;
}
.wm-bar-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}
.wm-bar-dots span:nth-child(1) { background: rgba(255, 96, 96, 0.5); }
.wm-bar-dots span:nth-child(2) { background: rgba(255, 200, 0, 0.4); }
.wm-bar-dots span:nth-child(3) { background: rgba(80, 200, 80, 0.4); }

.wm-bar-url {
    flex: 1;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-body {
    padding: 0;
}

.wm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem 0.75rem;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.wm-logo {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.wm-version {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.wm-nav {
    display: flex;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.wm-nav-item {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
    cursor: default;
    border-right: 1px solid rgba(255, 140, 0, 0.08);
    transition: background 0.2s;
}
.wm-nav-item:last-child { border-right: none; }

.wm-nav-active {
    color: var(--amber);
    background: rgba(255, 140, 0, 0.07);
    border-bottom: 2px solid var(--amber);
    margin-bottom: -1px;
}

.wm-section-label {
    padding: 0.75rem 1.2rem 0.25rem;
    font-family: var(--font-display);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.wm-content {
    padding: 0 0 0.5rem;
}

.wm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}
.wm-row:last-child { border-bottom: none; }
.wm-row:hover { background: rgba(255, 140, 0, 0.03); }

.wm-row-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.wm-row-val {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.06em;
}

.wm-save {
    margin: 0.75rem 1.2rem 1.2rem;
    background: var(--amber);
    color: #000;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    padding: 0.7rem;
    border-radius: var(--radius);
    cursor: default;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}

.wm-config-badge {
    font-family: var(--font-display);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: #FF8C00;
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
}

.wm-nav-blue {
    color: #FF8C00 !important;
    background: rgba(255, 140, 0, 0.08) !important;
    border-bottom: 2px solid #FF8C00 !important;
}

.wm-pc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.2rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wm-pc-collapse {
    font-size: 0.6rem;
    color: var(--text-dim);
    opacity: 0.45;
}

.wm-page-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.45rem 1.2rem;
}

.wm-page-tab {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.wm-page-tab--active {
    background: #FF8C00;
    color: #000;
    border-color: #FF8C00;
}

.wm-dial-wrap {
    display: flex;
    justify-content: center;
    padding: 0.25rem 1.2rem 0.4rem;
}

.wm-dial {
    width: 145px;
    height: 145px;
}

.wm-fields {
    padding: 0 0 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wm-field {
    padding: 0.45rem 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wm-field-label {
    font-size: 0.63rem;
    color: var(--text-muted);
}

.wm-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.28rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.66rem;
    color: var(--text);
}

.wm-select span {
    opacity: 0.4;
    font-size: 0.58rem;
}

.wm-text-input {
    padding: 0.28rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.66rem;
    color: var(--text);
}

.wm-placeholder {
    color: rgba(255, 255, 255, 0.18);
}

.wm-colour-input {
    height: 24px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}


/* ==========================================================
   FIRMWARE SECTION
   ========================================================== */
.firmware-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3.5rem;
}

.firmware-card {
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
}

.firmware-card--latest {
    border: 1px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.06);
}

.fc-header {
    padding: 1.6rem 1.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.fc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fw-badge {
    display: inline-block;
    background: var(--amber);
    color: #000;
    font-family: var(--font-display);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 0.22rem 0.65rem;
    border-radius: 2px;
    text-transform: uppercase;
}

.fw-version {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 0;
}

.fw-date {
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.fw-dl-btn {
    width: 100%;
    justify-content: center;
}

.fc-divider {
    height: 1px;
    background: rgba(255, 140, 0, 0.12);
    margin: 1.2rem 1.6rem 0;
}

.fc-notes-label {
    padding: 1rem 1.6rem 0.5rem;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0.7;
}

.fc-notes-list {
    list-style: none;
    padding: 0 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.fc-notes-list li {
    padding-left: 1.2rem;
    position: relative;
}
.fc-notes-list li::before {
    content: '·';
    position: absolute;
    left: 0.3rem;
    color: var(--amber);
    font-size: 1.1em;
    line-height: 1;
    top: 0.05em;
}

.firmware-howto {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.firmware-howto h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text);
    text-transform: uppercase;
}


/* ==========================================================
   USB RECOVERY SECTION
   ========================================================== */
.recovery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3.5rem;
}

.recovery-intro {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.recovery-intro h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.recovery-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.recovery-method {
    background: var(--bg-card);
    border: 1px solid rgba(255, 140, 0, 0.12);
    border-radius: 6px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: border-color 0.25s;
}
.recovery-method:hover {
    border-color: rgba(255, 140, 0, 0.25);
}

.rm-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rm-badge {
    display: inline-block;
    background: var(--amber);
    color: #000;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    text-transform: uppercase;
    align-self: flex-start;
}

.rm-badge--alt {
    background: transparent;
    color: var(--amber);
    border: 1px solid rgba(255, 140, 0, 0.4);
}

.rm-header h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    text-transform: uppercase;
    margin: 0;
}
.rm-header p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0;
}


/* ==========================================================
   FAQ
   ========================================================== */
.faq-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 140, 0, 0.12);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 140, 0, 0.08);
    background: var(--bg-card);
    transition: background 0.2s;
}
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: var(--bg-card-h); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 2rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text);
    text-transform: uppercase;
    user-select: none;
    transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }
.faq-q:hover { color: var(--amber); }

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--amber);
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: faq-open 0.25s ease;
}

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.faq-a p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.72;
}


/* ==========================================================
   RESPONSIVE — SUPPORT PAGE
   ========================================================== */
@media (max-width: 1100px) {
    .webui-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .webui-mockup {
        position: static;
        max-width: 420px;
    }

    .recovery-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .firmware-grid {
        grid-template-columns: 1fr;
    }
    .firmware-card--latest {
        max-width: 420px;
    }

    .support-hero-inner {
        padding: 4rem 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .step-card {
        grid-template-columns: 72px 1fr;
    }
    .step-num {
        font-size: 2rem;
        padding: 2rem 1rem;
    }
    .step-content {
        padding: 1.8rem 1.5rem;
    }

    .faq-q {
        padding: 1.2rem 1.4rem;
        font-size: 0.75rem;
    }
    .faq-a {
        padding: 0 1.4rem 1.4rem;
    }

    .webui-mockup {
        max-width: 100%;
    }

    .support-quick-links .btn {
        font-size: 0.62rem;
        padding: 0.75rem 1.4rem;
    }
}

@media (max-width: 560px) {
    .step-card {
        grid-template-columns: 1fr;
    }
    .step-num {
        padding: 1.5rem 1.5rem 0.5rem;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(255, 140, 0, 0.08);
        font-size: 1.6rem;
    }
    .step-content {
        padding: 1.4rem 1.5rem 1.8rem;
    }

    .recovery-method { padding: 1.4rem; }
    .fc-header { padding: 1.2rem 1.2rem 0; }
    .fc-notes-list { padding: 0 1.2rem 1.2rem; }
    .fc-notes-label { padding: 0.8rem 1.2rem 0.4rem; }
    .fc-divider { margin: 1rem 1.2rem 0; }

    .wiring-table th,
    .wiring-table td { padding: 0.7rem 0.9rem; }
}

@media (max-width: 480px) {
    .support-hero-inner {
        padding: 3.5rem 1.5rem 2.5rem;
    }
    .support-hero-title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
    .support-quick-links {
        gap: 0.5rem;
    }
}

.esp-web-tools-wrap {
    margin: 1.5rem 0 1rem;
}
.esp-unsupported {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    padding: 0.75rem 0;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
    margin: 1.5rem 0;
    border: 1.5px dashed rgba(255,140,0,0.3);
    border-radius: 10px;
    background: rgba(255,140,0,0.03);
    overflow: hidden;
}
.img-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
}
.img-placeholder-icon {
    width: 48px;
    height: 48px;
    color: rgba(255,140,0,0.4);
    flex-shrink: 0;
}
.img-placeholder-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.img-placeholder-label span {
    font-size: 0.8rem;
    opacity: 0.7;
}
