@charset "UTF-8";

/* Router-Recovery.com - Premium Modern Design */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success: #10b981;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--text-light); }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
/* a:hover { color: var(--primary-dark); } */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

.btn-outline {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    white-space: nowrap;
}

.rr-site-brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

header .logo,
header .logo:visited,
header .logo:hover,
header .logo:active {
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9375rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.cta {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.nav-links a.cta:hover {
    background: var(--primary-dark);
    color: white;
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.trust-badge span {
    font-size: 1.25rem;
}

/* Sections */
section {
    padding: 50px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-dark h2,
.section-dark p {
    color: white;
}

/* Features Grid */
.features {
    background: var(--bg-alt);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

/* Let the final text block absorb spare row height so direct CTAs stay aligned. */
.feature-card > p:last-of-type {
    flex-grow: 1;
}

.feature-card > .btn {
    align-self: flex-start;
}

/* These five cards are one recovery-method choice set, so their CTAs match. */
#recovery-methods-2-1 .feature-card > .btn {
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: fit-content;
    min-width: 56px;
    max-width: 100%;
    height: 56px;
    padding: 0 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 20px;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list details {
    background: var(--bg-alt);
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-list summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

details[open] summary::after { content: '−'; }

.faq-list p {
    padding: 0 24px 20px;
    color: var(--text-light);
}

/* CTA */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    padding: 80px 24px;
    border-radius: var(--radius);
}

.cta h2 { color: white; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 32px; }
.cta .btn {
    background: white;
    color: var(--primary);
}
.cta .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
}

footer .logo,
footer .logo:visited,
footer .logo:hover,
footer .logo:active {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

.footer-icp {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.55);
}

.footer-icp:hover {
    color: rgba(255,255,255,0.85);
}

/* Firmware directory */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.firmware-directory {
    background: #fff;
}

.firmware-hero {
    padding: 124px 0 56px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 52%);
}

.firmware-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    align-items: center;
    gap: 44px;
}

.firmware-hero-copy {
    max-width: 660px;
}

.firmware-eyebrow {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 0.8125rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.firmware-hero h1 {
    margin-bottom: 20px;
    color: #172554;
    font-size: clamp(2.5rem, 3.6vw, 3rem);
    line-height: 1.08;
}

.firmware-hero-copy > p:last-child {
    max-width: 620px;
    color: var(--text-light);
    font-size: 1.0625rem;
}

.firmware-hero-art {
    display: block;
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.firmware-preflight {
    margin-top: 34px;
}

.firmware-preflight > h2,
.firmware-task-section > .container > h2 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 1.25rem;
}

.firmware-preflight ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.firmware-preflight li {
    position: relative;
    min-height: 152px;
    padding: 26px 24px 22px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.firmware-check-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #5266e8;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 750;
}

.firmware-check-icon {
    position: absolute;
    top: 25px;
    right: 24px;
    color: #6d7df4;
    font-size: 1.55rem;
}

.firmware-preflight h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.firmware-preflight p {
    font-size: 0.875rem;
    line-height: 1.55;
}

.firmware-section {
    padding: 58px 0;
}

.firmware-task-section {
    padding-top: 30px;
}

.firmware-task-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.firmware-task-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 24px;
    min-height: 244px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.firmware-task-card.is-primary {
    border-color: #9aa7ff;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
}

.firmware-task-icon,
.firmware-open-icon,
.firmware-type-icon,
.firmware-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #5266e8;
}

.firmware-task-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #eef2ff;
    font-size: 2rem;
}

.firmware-task-card.is-primary .firmware-task-icon {
    background: #5266e8;
    color: #fff;
}

.firmware-task-badge {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.firmware-task-card h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.firmware-task-card p:not(.firmware-task-badge) {
    margin-bottom: 22px;
    font-size: 0.9375rem;
}

.firmware-task-card .btn {
    padding: 12px 18px;
    font-size: 0.9375rem;
}

.firmware-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.firmware-section-heading h2 {
    margin-bottom: 10px;
    color: #172554;
    font-size: 2rem;
}

.firmware-section-heading > p:last-child {
    font-size: 1rem;
}

.firmware-source-table {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.firmware-source-row {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(300px, 1.7fr) minmax(250px, 1.2fr);
    align-items: center;
    min-height: 74px;
    border-top: 1px solid var(--border);
}

.firmware-source-row:first-child {
    border-top: 0;
}

.firmware-source-row > * {
    padding: 17px 22px;
}

.firmware-source-head {
    min-height: 48px;
    background: var(--bg-alt);
    color: var(--text-light);
    font-size: 0.8125rem;
    font-weight: 700;
}

.firmware-source-row strong {
    color: var(--text);
    font-size: 0.9375rem;
}

.firmware-source-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.firmware-source-brand img,
.firmware-brand-generic {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}

.firmware-source-brand img.firmware-brand-wordmark {
    width: 54px;
    flex-basis: 54px;
}

.firmware-brand-generic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef2ff;
    color: #6477ee;
    font-size: 1rem;
}

.firmware-source-brand > span:last-child {
    color: var(--text);
    font-size: inherit;
}

.firmware-source-row span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.firmware-source-row a,
.firmware-open-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 650;
}

.firmware-source-row a:hover,
.firmware-open-list a:hover,
.firmware-advanced-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.firmware-source-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #f8fbff;
    font-size: 0.875rem;
}

.firmware-source-note i {
    color: var(--primary);
}

.firmware-open-section {
    background: var(--bg-alt);
}

.firmware-open-list {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.firmware-open-list article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-top: 1px solid var(--border);
}

.firmware-open-list article:first-child {
    border-top: 0;
}

.firmware-open-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eef2ff;
    font-size: 1.45rem;
}

.firmware-open-list h3 {
    margin-bottom: 4px;
    font-size: 1.0625rem;
}

.firmware-open-list p {
    font-size: 0.875rem;
}

.firmware-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.firmware-type-grid article {
    min-height: 250px;
    padding: 28px 24px;
    border-left: 1px solid var(--border);
    background: #fff;
}

.firmware-type-grid article:first-child {
    border-left: 0;
}

.firmware-type-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #eef2ff;
    font-size: 1.45rem;
}

.firmware-type-grid h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.firmware-type-grid p {
    font-size: 0.875rem;
}

.firmware-type-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4254d0;
    font-size: 0.75rem !important;
    font-weight: 700;
}

.firmware-advanced {
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.firmware-advanced summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.firmware-advanced summary::-webkit-details-marker {
    display: none;
}

.firmware-advanced summary span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.firmware-advanced[open] summary > i {
    transform: rotate(180deg);
}

.firmware-advanced-body {
    padding: 0 24px 24px;
}

.firmware-advanced-body > p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
    background: #fff8e8;
    color: #8a5a12;
    font-size: 0.875rem;
}

.firmware-advanced-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 18px;
}

.firmware-advanced-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 650;
}

.firmware-cta-wrap {
    padding: 26px 0 80px;
}

.firmware-cta {
    padding: 52px 32px;
    border: 1px solid #dfe4ff;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    text-align: center;
}

.firmware-cta-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 1.55rem;
}

.firmware-cta h2 {
    margin-bottom: 10px;
    color: #172554;
    font-size: 2rem;
}

.firmware-cta p {
    max-width: 650px;
    margin: 0 auto 24px;
}

.firmware-directory a:focus-visible,
.firmware-directory summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 4px;
}

@media (max-width: 920px) {
    .firmware-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .firmware-hero-art {
        width: min(520px, 100%);
        margin: 0 auto;
        max-height: 240px;
    }

    .firmware-preflight ol,
    .firmware-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .firmware-type-grid article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .firmware-type-grid article:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .firmware-source-row {
        grid-template-columns: minmax(130px, 0.75fr) minmax(220px, 1.4fr) minmax(210px, 1fr);
    }

    .firmware-open-list article {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .firmware-open-list a {
        grid-column: 2;
    }
}

@media (max-width: 700px) {
    .firmware-hero {
        padding: 104px 0 36px;
    }

    .firmware-hero h1 {
        font-size: 2.35rem;
    }

    .firmware-hero-art {
        max-height: 190px;
    }

    .firmware-preflight ol,
    .firmware-task-grid,
    .firmware-type-grid {
        grid-template-columns: 1fr;
    }

    .firmware-preflight li {
        min-height: 0;
    }

    .firmware-task-card {
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 0;
        padding: 24px 20px;
    }

    .firmware-task-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 1.55rem;
    }

    .firmware-section {
        padding: 44px 0;
    }

    .firmware-section-heading h2,
    .firmware-cta h2 {
        font-size: 1.65rem;
    }

    .firmware-source-table {
        border: 0;
        overflow: visible;
    }

    .firmware-source-head {
        display: none;
    }

    .firmware-source-row {
        display: block;
        min-height: 0;
        margin-bottom: 12px;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 12px;
    }

    .firmware-source-row > * {
        display: block;
        padding: 0;
    }

    .firmware-source-row > span:nth-child(2) {
        margin: 7px 0 13px;
    }

    .firmware-open-list article {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 20px;
    }

    .firmware-open-icon {
        width: 42px;
        height: 42px;
    }

    .firmware-open-list a {
        grid-column: 1 / -1;
        margin-top: 4px;
    }

    .firmware-type-grid article,
    .firmware-type-grid article:nth-child(2),
    .firmware-type-grid article:nth-child(4) {
        min-height: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .firmware-type-grid article:first-child {
        border-top: 0;
    }

    .firmware-advanced summary,
    .firmware-advanced-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .firmware-cta-wrap {
        padding-bottom: 56px;
    }

    .firmware-cta {
        padding: 38px 20px;
    }

    .firmware-cta .btn-large {
        width: 100%;
        padding: 16px 18px;
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero { padding: 120px 0 60px; }
    .hero-subtitle { font-size: 1.25rem; }

    .nav-links { display: none; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Step Cards - AdWhiz Style */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.step-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    flex: 1;
    margin-bottom: 20px;
}

.step-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #f8fafc;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.step-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* 汉堡按钮 - 默认隐藏 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero { padding: 120px 0 60px; }

    /* 手机端隐藏导航链接 */
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        z-index: 1000;
    }

    /* 当菜单激活时显示 */
    .nav-links.active {
        display: flex;
    }

    /* 显示汉堡菜单图标 */
    .menu-toggle {
        display: block;
    }

    /* 手机端微调间距 */
    .nav-right {
        gap: 12px;
    }

    .lang-switch-minimal {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

/* Tutorial Page Styles */
.tutorial-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.tutorial-section:last-child {
  border-bottom: none;
}

.tutorial-section h2 {
  margin-bottom: 24px;
  color: var(--text);
}

.tutorial-section h3 {
  margin: 24px 0 12px;
  color: var(--text);
}

.tutorial-section p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Product Gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.product-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.image-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 24px 0;
}

/* LuCI Screenshot */
.luci-screenshot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow);
}

.luci-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.luci-caption {
  background: var(--bg-alt);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

/* Callout Boxes */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border-left: 4px solid;
}

.callout h4 {
  margin-bottom: 8px;
}

.callout-tip {
  background: #ecfdf5;
  border-color: var(--success);
}

.callout-tip h4 {
  color: var(--success);
}

.callout-warning {
  background: #fffbeb;
  border-color: #f59e0b;
}

.callout-warning h4 {
  color: #d97706;
}

.callout-info {
  background: #eff6ff;
  border-color: var(--primary);
}

.callout-info h4 {
  color: var(--primary);
}

/* Code Block */
.code-block {
  background: var(--bg-dark);
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.9rem;
  overflow-x: auto;
  margin: 20px 0;
  line-height: 1.6;
}

.code-block .comment {
  color: #64748b;
}

.code-block .command {
  color: #10b981;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 20px 0;
}

.checklist li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-light);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.table-wrapper th {
  background: var(--bg-alt);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}

.table-wrapper td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

.table-wrapper tr:last-child td {
  border-bottom: none;
}

.table-wrapper tr:hover {
  background: var(--bg-alt);
}

/* Key Experience Box */
.key-experience {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 32px;
  border-radius: var(--radius);
  margin: 40px 0;
}

.key-experience h3 {
  color: white;
  margin-bottom: 16px;
}

.key-experience p,
.key-experience li {
  color: rgba(255, 255, 255, 0.92);
}

.key-experience a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.key-experience ul {
  list-style: none;
}

.key-experience li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.key-experience li::before {
  content: "💡";
  position: absolute;
  left: 0;
}

/* FAQ override for tutorial pages */
.tutorial-section .faq-list details {
  background: var(--bg-alt);
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tutorial-section .faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.tutorial-section .faq-list summary::-webkit-details-marker {
  display: none;
}

.tutorial-section .faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.tutorial-section details[open] summary::after {
  content: '−';
}

.tutorial-section .faq-list p {
  padding: 0 24px 20px;
  color: var(--text-light);
}

/* Disclaimer */
.disclaimer {
  background: #fff3cd;
  padding: 40px 0;
  border-top: 3px solid #ffc107;
}

/* Steps List - 步骤列表 */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.step-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.step-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 8px;
  color: var(--text);
}

.step-content p {
  margin: 0;
  color: var(--text-light);
}

/* Difficulty Badge */
.diff {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.diff-easy {
  background: #d4edda;
  color: #155724;
}

.diff-medium {
  background: #fff3cd;
  color: #856404;
}

.diff-hard {
  background: #f8d7da;
  color: #721c24;
}

/* Tip Box */
.tip-box {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  border-left: 4px solid var(--primary);
}

.tip-box strong {
  color: var(--primary);
}

/* Brand Nav */
.brand-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.brand-nav a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.brand-nav a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Brand Badge */
.brand-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Brand Section */
.brand-section {
  margin: 40px 0;
}

.brand-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Quick Search */
.quick-search {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}

.quick-search input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.quick-search input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Back to Top */
.back-to-top {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 16px;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: white;
}

/* Tabs - for tftp-router-ip-table.html */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 24px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.tab:hover {
  background: #e2e8f0;
}

.tab.active {
  background: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card > p {
  margin-bottom: 24px;
}

.table-responsive {
  overflow-x: auto;
  margin-top: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.data-table code {
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Brand badges for router table */
.brand-tp { background: #dcfce7; color: #16a34a; }
.brand-xiaomi { background: #fef3c7; color: #d97706; }
.brand-asus { background: #f3e8ff; color: #9333ea; }
.brand-h3c { background: #dbeafe; color: #1d4ed8; }
.brand-netgear { background: #fee2e2; color: #dc2626; }
.brand-tenda { background: #e0e7ff; color: #4f46e5; }

.mode-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.mode-client { background: #ecfdf5; color: #059669; }
.mode-server { background: #fef3c7; color: #d97706; }

.step-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.step-box h3 {
  margin-bottom: 12px;
}

.step-list {
  padding-left: 24px;
}

.step-list li {
  padding: 6px 0;
}

.step-box pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 12px 0;
}

.param-list {
  padding-left: 24px;
  margin: 12px 0;
}

.param-list li {
  padding: 4px 0;
}

.warn-list {
  padding-left: 24px;
}

.warn-list li {
  padding: 6px 0;
  color: #dc2626;
}

.tip {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 8px;
}

.step-btn code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* Mobile for tabs */
@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
  }

  .tab {
    width: 100%;
    text-align: center;
  }

  .tutorial-section {
    padding: 50px 0;
  }

  .brand-nav {
    gap: 8px;
  }

  .brand-nav a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
.error-container {
    text-align: center;
    padding: 100px 20px;
}
.error-code {
    font-size: 120px;
    color: #007aff;
    font-weight: bold;
    margin-bottom: 20px;
}
.error-message {
    font-size: 24px;
    color: #666;
    margin-bottom: 40px;
}
.error-description {
    font-size: 16px;
    color: #999;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* High-intent router recovery SEO guides */
.breadcrumb-nav {
    padding: 96px 0 0;
    background: var(--bg-alt);
}

.breadcrumb-nav ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.breadcrumb-nav li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--text-light);
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.breadcrumb-nav [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

.seo-hero {
    padding-top: 56px;
    padding-bottom: 72px;
}

.seo-kicker {
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0;
}

.seo-narrow {
    max-width: 920px;
}

.seo-step {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.seo-step:last-child {
    border-bottom: 0;
}

.seo-step-number {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text);
    font-weight: 600;
}

.checklist-item span {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
}

/* Language Switcher - Simple Dropdown */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    transition: all 0.2s;
}

.lang-switcher-btn:hover {
    background: var(--border);
}

.lang-switcher-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.lang-switcher.open .lang-switcher-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 200;
    overflow: hidden;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.15s;
}

.lang-dropdown a:hover {
    background: var(--bg-alt);
}

.lang-dropdown a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile: show as inline button */
@media (max-width: 768px) {
    .lang-switcher-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .lang-dropdown {
        position: fixed;
        top: 70px;
        right: 16px;
        left: auto;
        width: auto;
        min-width: 100px;
    }
}

.selector-page {
    background: #fff;
}

.selector-shell {
    max-width: 920px;
}

.selector-hero {
    padding: 88px 0 56px;
    background: radial-gradient(circle at 82% 15%, rgba(99, 102, 241, 0.1), transparent 34%), #fff;
}

.selector-eyebrow,
.selector-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.selector-hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: #172554;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.selector-lead {
    max-width: 760px;
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.8;
}

.selector-boundary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 760px;
    margin-top: 26px;
    padding: 15px 18px;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #f8fbff;
    color: #52627a;
    font-size: 0.9rem;
    line-height: 1.65;
}

.selector-boundary i {
    color: var(--primary);
    font-size: 1.1rem;
}

.selector-boundary strong {
    color: #24324a;
}

.selector-workspace {
    padding: 66px 0 72px;
    background: var(--bg-alt);
}

.selector-section-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.selector-section-heading h2,
.selector-cta h2 {
    margin-bottom: 10px;
    color: #172554;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.selector-section-heading > p:last-child {
    color: var(--text-light);
}

.selector-panel {
    padding: 28px;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(23, 37, 84, 0.06);
}

.selector-sync-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 0.84rem;
}

.selector-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.selector-sync-status.is-loading .selector-status-dot {
    background: #f59e0b;
    animation: selectorPulse 1.2s infinite;
}

.selector-sync-status.is-ready .selector-status-dot { background: #22c55e; }
.selector-sync-status.is-error .selector-status-dot { background: #ef4444; }

@keyframes selectorPulse {
    50% { opacity: 0.35; transform: scale(0.82); }
}

.selector-controls {
    display: grid;
    grid-template-columns: minmax(180px, 0.65fr) minmax(320px, 1.35fr);
    gap: 16px;
}

.selector-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 700;
}

.selector-field select,
.selector-field input {
    width: 100%;
    height: 50px;
    margin: 0;
    border: 1px solid #cfd9e6;
    border-radius: 11px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.selector-field select { padding: 0 38px 0 14px; }
.selector-field input { padding: 0 14px 0 42px; }

.selector-field select:focus,
.selector-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.selector-field select:disabled,
.selector-field input:disabled {
    cursor: wait;
    background: #f8fafc;
    color: #94a3b8;
}

.selector-input-wrap {
    position: relative;
    display: block;
}

.selector-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    color: #94a3b8;
    transform: translateY(-50%);
}

.selector-dropdown {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid #d7e0ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(23, 37, 84, 0.14);
}

.selector-dropdown.show { display: block; }

.selector-dropdown .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 15px;
    border-bottom: 1px solid #edf1f5;
    cursor: pointer;
}

.selector-dropdown .item:hover,
.selector-dropdown .item:focus { background: #f7f9ff; outline: none; }
.selector-dropdown .item:last-child { border-bottom: 0; }

.selector-dropdown .name {
    min-width: 0;
    color: var(--text);
    font-weight: 650;
}

.selector-dropdown .name small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
    text-overflow: ellipsis;
}

.selector-dropdown .target {
    flex-shrink: 0;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
}

.selector-no-match {
    display: block;
    padding: 16px;
    color: #64748b;
    font-weight: 500;
}

.selector-results {
    margin-top: 22px;
}

.selector-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 112px;
    margin: 0;
    padding: 22px;
    border: 1px dashed #d6deea;
    border-radius: 12px;
    background: #fbfcfe;
    color: #718096;
    text-align: center;
}

.selector-empty > i { color: #8294f3; font-size: 1.3rem; }
.selector-empty.selector-error { color: #9a3412; background: #fffaf5; }

.selector-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #dbe3ee;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: selectorSpin 0.8s linear infinite;
}

@keyframes selectorSpin { to { transform: rotate(360deg); } }

.selector-result-card {
    padding: 24px;
    border: 1px solid #d9e2ff;
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfcff, #f5f7ff);
}

.selector-result-kicker {
    margin-bottom: 9px;
    color: #4962db;
    font-size: 0.8rem;
    font-weight: 750;
}

.selector-result-card h3 {
    margin-bottom: 16px;
    color: #172554;
    font-size: 1.35rem;
}

.selector-result-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 18px;
}

.selector-result-card dl > div {
    padding: 11px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
}

.selector-result-card dt {
    margin-bottom: 3px;
    color: #8290a5;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.selector-result-card dd { margin: 0; overflow-wrap: anywhere; }
.selector-result-card code { color: #334155; font-size: 0.82rem; }

.selector-link-note {
    margin-bottom: 16px;
    color: #64748b;
    font-size: 0.83rem;
}

.selector-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.selector-file-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border: 1px solid #e1e7f0;
    border-radius: 11px;
    background: #fff;
}

.selector-file-meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.selector-file-type {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 6px;
    background: #eef2ff;
    color: #4d5fd1;
    font-size: 0.69rem;
    font-weight: 750;
    text-transform: uppercase;
}

.selector-file-name {
    overflow-wrap: anywhere;
    color: #334155;
    font-size: 0.78rem;
}

.selector-file-checksum {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    color: #94a3b8;
    font-size: 0.68rem;
}

.selector-file-checksum code {
    overflow: hidden;
    color: #7b8799;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selector-file-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 132px;
}

.selector-file-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #d7e0eb;
    border-radius: 8px;
    background: #fff;
    color: #4056cc;
    font-size: 0.76rem;
    font-weight: 680;
}

.selector-file-actions a:nth-child(n+2) {
    border-color: #d8e9e1;
    background: #f7fcf9;
    color: #257453;
}

.selector-file-actions a:hover {
    border-color: currentColor;
    text-decoration: none;
}

.selector-mirror-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
}

.selector-mirror-note i { color: var(--primary); }

.selector-result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.selector-result-actions .btn { padding: 11px 17px; }

/* Support directory */
.support-page {
    background: var(--bg);
}

.support-hero {
    padding: 74px 0 78px;
    text-align: center;
    background: var(--bg-alt);
}

.support-hero-inner {
    max-width: 900px;
}

.support-hero h1 {
    max-width: 820px;
    margin: 14px auto 24px;
    color: var(--text);
    font-size: clamp(2.65rem, 5vw, 4rem);
}

.support-hero-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.75;
}

.support-hero .hero-buttons {
    margin-top: 32px;
}

.support-response-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.support-section {
    padding: 76px 0;
}

.support-section-alt {
    background: var(--bg-alt);
}

.support-section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.support-section-heading h2 {
    margin-bottom: 12px;
    color: var(--text);
}

.support-section-heading p {
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.support-route-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 30px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.support-route-card-primary {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.11);
}

.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    color: var(--primary);
    background: #eef2ff;
    border-radius: 15px;
    font-size: 1.45rem;
}

.support-route-card .seo-kicker {
    margin-bottom: 10px;
    font-size: 0.77rem;
}

.support-route-card h3 {
    margin-bottom: 12px;
}

.support-route-card > p:not(.seo-kicker) {
    flex-grow: 1;
    line-height: 1.7;
}

.support-route-card .btn {
    align-self: flex-start;
    margin-top: 22px;
}

.support-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.support-check-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}

.support-check-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 1.2rem;
}

.support-check-top span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: white;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

.support-check-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.support-check-card p {
    font-size: 0.92rem;
    line-height: 1.65;
}

.support-narrow {
    max-width: 980px;
}

.support-boundary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.support-boundary-card {
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.support-boundary-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.support-boundary-can h3 {
    color: #047857;
}

.support-boundary-cannot h3 {
    color: #9a3412;
}

.support-boundary-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-light);
}

.support-boundary-card li {
    margin-bottom: 10px;
    line-height: 1.65;
}

.support-contribute-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.35fr);
    gap: 64px;
    align-items: start;
}

.support-contribute-intro {
    position: sticky;
    top: 112px;
}

.support-contribute-intro h2 {
    margin: 12px 0 16px;
}

.support-contribute-intro > p:not(.seo-kicker) {
    margin-bottom: 24px;
    line-height: 1.75;
}

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

.support-details-list details {
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.support-details-list summary {
    padding: 22px 56px 22px 22px;
    color: var(--text);
    font-weight: 650;
}

.support-details-list details p {
    margin: 0;
    padding: 0 22px 22px;
    line-height: 1.75;
}

.support-knowledge-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 34px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.support-knowledge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--primary);
    background: #eef2ff;
    border-radius: 18px;
    font-size: 1.6rem;
}

.support-knowledge-card h2 {
    margin: 8px 0 12px;
    font-size: 2rem;
}

.support-knowledge-card p:not(.seo-kicker) {
    max-width: 760px;
    margin-bottom: 22px;
    line-height: 1.75;
}

.support-cta-wrap {
    padding: 76px 0;
}

.support-cta {
    padding: 58px 40px;
    color: white;
    text-align: center;
    background: var(--bg-dark);
    border-radius: 24px;
}

.support-cta h2,
.support-cta p {
    color: white;
}

.support-cta h2 {
    margin-bottom: 14px;
}

.support-cta p {
    max-width: 720px;
    margin: 0 auto 26px;
    color: #cbd5e1;
}

.support-cta .btn {
    color: var(--text);
    background: white;
}

.support-page a:focus-visible,
.support-page summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 4px;
}

@media (max-width: 920px) {
    .support-route-grid,
    .support-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-contribute-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .support-contribute-intro {
        position: static;
    }
}

@media (max-width: 640px) {
    .support-hero {
        padding: 54px 0 60px;
    }

    .support-hero h1 {
        font-size: 2.45rem;
    }

    .support-hero-lead {
        font-size: 1rem;
    }

    .support-response-note {
        align-items: flex-start;
        text-align: left;
    }

    .support-section {
        padding: 56px 0;
    }

    .support-route-grid,
    .support-check-grid,
    .support-boundary-grid {
        grid-template-columns: 1fr;
    }

    .support-route-card {
        min-height: 0;
        padding: 24px;
    }

    .support-route-card .btn,
    .support-contribute-intro .btn,
    .support-knowledge-card .btn {
        width: 100%;
    }

    .support-knowledge-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .support-knowledge-card h2 {
        font-size: 1.65rem;
    }

    .support-cta-wrap {
        padding: 56px 0;
    }

    .support-cta {
        padding: 42px 22px;
        border-radius: 18px;
    }

    .support-cta .btn-large {
        width: 100%;
        padding: 16px 18px;
        font-size: 1rem;
    }
}

.selector-secondary-link {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 650;
}

.selector-safety {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.selector-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.selector-safety-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.selector-safety-grid > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #eef2ff;
    color: #5568e8;
    font-size: 0.78rem;
    font-weight: 750;
}

.selector-safety-grid p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.55;
}

.selector-safety-grid strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text);
}

.selector-cta {
    padding: 70px 0;
    text-align: center;
}

.selector-cta .selector-eyebrow { justify-content: center; }
.selector-cta > .container > p:not(.selector-eyebrow) { max-width: 660px; margin: 0 auto 24px; }

@media (max-width: 720px) {
    .selector-hero { padding: 62px 0 42px; }
    .selector-workspace { padding: 48px 0 54px; }
    .selector-panel { padding: 20px; }
    .selector-controls { grid-template-columns: 1fr; }
    .selector-safety-grid { grid-template-columns: 1fr; gap: 22px; }
    .selector-result-card dl { grid-template-columns: 1fr; }
    .selector-file-card { grid-template-columns: 1fr; }
    .selector-file-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
    .selector-result-actions { align-items: stretch; flex-direction: column; }
    .selector-result-actions .btn, .selector-secondary-link { text-align: center; }
    .selector-dropdown .target { display: none; }
}

@media (max-width: 480px) {
    .selector-file-actions { grid-template-columns: 1fr; }
}

/* Router Recovery homepage v2 — scoped Figma implementation */
.rr-home-page {
    --rr-home-primary: #2563eb;
    --rr-home-primary-hover: #1d4ed8;
    --rr-home-primary-light: #3b82f6;
    --rr-home-success: #10b981;
    --rr-home-success-soft: #ecfdf5;
    --rr-home-success-text: #047857;
    --rr-home-warning: #f59e0b;
    --rr-home-warning-soft: #fffbeb;
    --rr-home-warning-text: #b45309;
    --rr-home-canvas: #ffffff;
    --rr-home-subtle: #f8fafc;
    --rr-home-soft: #eff6ff;
    --rr-home-dark: #0f172a;
    --rr-home-text: #1e293b;
    --rr-home-text-secondary: #64748b;
    --rr-home-text-muted: #64748b;
    --rr-home-border: #e2e8f0;
    --rr-home-radius-sm: 8px;
    --rr-home-radius-md: 12px;
    --rr-home-radius-lg: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: var(--rr-home-canvas);
    color: var(--rr-home-text);
}

.rr-home-page .rr-home-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 24px;
    padding-left: 24px;
}

.rr-home-page .rr-home-header {
    position: relative;
    inset: auto;
    z-index: 100;
    border-bottom: 1px solid var(--rr-home-border);
    background: var(--rr-home-canvas);
    backdrop-filter: none;
}

.rr-home-nav-shell {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rr-home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.rr-home-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    color: var(--rr-home-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
}

.rr-home-brand:visited,
.rr-home-brand:hover,
.rr-home-brand:active {
    color: var(--rr-home-text);
}

.rr-home-brand-icon,
.rr-home-path-icon,
.rr-home-safety-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--rr-home-soft);
}

.rr-home-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: transparent;
}

.rr-home-brand-icon img,
.rr-home-path-icon img,
.rr-home-safety-icon img,
.rr-home-status-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.rr-home-brand-icon img {
    width: 36px;
    height: 36px;
}

.rr-home-nav-actions,
.rr-home-nav-links {
    display: flex;
    align-items: center;
}

.rr-home-nav-actions {
    gap: 12px;
}

.rr-home-nav-links {
    gap: 24px;
    margin-right: 4px;
}

.rr-home-nav-links a {
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

.rr-home-nav-links a:hover {
    color: var(--rr-home-primary);
}

.rr-home-header .lang-switcher {
    flex: 0 0 auto;
}

.rr-home-header .lang-switcher-btn {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--rr-home-border);
    border-radius: 999px;
    background: var(--rr-home-subtle);
    color: var(--rr-home-text-secondary);
    font-size: 13px;
    line-height: 18px;
}

.rr-home-header .lang-switcher-btn svg:first-child {
    width: 16px;
    height: 16px;
}

.rr-home-header .rr-home-language-chevron {
    display: none;
}

.rr-home-header-cta,
.rr-home-mobile-app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--rr-home-primary-light);
    border-radius: var(--rr-home-radius-md);
    background: var(--rr-home-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
}

.rr-home-header-cta:hover,
.rr-home-mobile-app-link:hover {
    background: var(--rr-home-primary-hover);
    color: #fff;
}

.rr-home-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--rr-home-border);
    border-radius: var(--rr-home-radius-md);
    background: var(--rr-home-subtle);
    cursor: pointer;
}

.rr-home-menu-button span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--rr-home-text-secondary);
}

.rr-home-menu-button span:nth-child(1) { transform: translateY(-6px); }
.rr-home-menu-button span:nth-child(3) { transform: translateY(6px); }

.rr-home-mobile-menu {
    display: none;
}

.rr-home-main section {
    padding: 0;
}

.rr-home-eyebrow {
    margin: 0;
    color: var(--rr-home-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.03em;
}

.rr-home-hero {
    background: var(--rr-home-canvas);
}

.rr-home-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.rr-home-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: min(100%, 920px);
}

.rr-home-page .rr-home-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--rr-home-text);
    font-size: clamp(48px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.142857;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.rr-home-hero-body {
    max-width: 920px;
    margin: 0;
    color: var(--rr-home-text-secondary);
    font-size: 18px;
    line-height: 28px;
}

.rr-home-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rr-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--rr-home-primary-light);
    border-radius: var(--rr-home-radius-md);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.rr-home-button-primary {
    background: var(--rr-home-primary);
    color: #fff;
}

.rr-home-button-primary:visited,
.rr-home-button-primary:hover,
.rr-home-button-primary:active {
    color: #fff;
}

.rr-home-button-primary:hover {
    border-color: var(--rr-home-primary-hover);
    background: var(--rr-home-primary-hover);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.rr-home-button-secondary {
    background: var(--rr-home-canvas);
    color: var(--rr-home-primary);
}

.rr-home-button-secondary:visited,
.rr-home-button-secondary:hover,
.rr-home-button-secondary:active {
    color: var(--rr-home-primary);
}

.rr-home-button-secondary:hover {
    border-color: var(--rr-home-primary);
    background: var(--rr-home-soft);
}

.rr-home-button-small {
    min-height: 36px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 20px;
}

.rr-home-button:focus-visible,
.rr-home-header a:focus-visible,
.rr-home-header button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
}

.rr-home-scope-note {
    width: min(100%, 760px);
    margin: 0;
    color: var(--rr-home-text-muted);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-status-section {
    background: var(--rr-home-subtle);
}

.rr-home-status-layout {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 568px);
    align-items: center;
    justify-content: center;
    gap: 72px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.rr-home-section-copy,
.rr-home-section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rr-home-section-copy h2,
.rr-home-section-heading h2,
.rr-home-final-cta h2 {
    margin: 0;
    color: var(--rr-home-text);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -0.01em;
}

.rr-home-section-copy > p:last-child,
.rr-home-section-heading > p:last-child {
    margin: 0;
    color: var(--rr-home-text-secondary);
    font-size: 16px;
    line-height: 26px;
}

.rr-home-status-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 24px;
    border: 1px solid var(--rr-home-border);
    border-radius: var(--rr-home-radius-lg);
    background: var(--rr-home-canvas);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.rr-home-card-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rr-home-card-heading h3 {
    margin: 0;
    color: var(--rr-home-text);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.rr-home-card-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
}

.rr-home-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-home-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: var(--rr-home-radius-md);
}

.rr-home-status-ready {
    border-color: var(--rr-home-success);
    background: var(--rr-home-success-soft);
}

.rr-home-status-warning {
    border-color: var(--rr-home-warning);
    background: var(--rr-home-warning-soft);
}

.rr-home-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--rr-home-canvas);
}

.rr-home-status-detail {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-status-detail strong {
    overflow: hidden;
    color: var(--rr-home-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rr-home-status-detail > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rr-home-status-label {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rr-home-canvas);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.rr-home-status-ready .rr-home-status-label {
    color: var(--rr-home-success-text);
}

.rr-home-status-warning .rr-home-status-label {
    color: var(--rr-home-warning-text);
}

.rr-home-ready-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--rr-home-radius-md);
    background: var(--rr-home-subtle);
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-ready-note > span {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--rr-home-text-secondary);
}

.rr-home-workflow-section {
    background: var(--rr-home-canvas);
}

.rr-home-workflow-section > .rr-home-container,
.rr-home-paths-section > .rr-home-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.rr-home-section-heading {
    align-items: center;
    width: min(100%, 760px);
    margin: 0 auto;
    gap: 10px;
    text-align: center;
}

.rr-home-step-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1160px;
    margin: 48px auto 0;
    padding: 0;
    list-style: none;
}

.rr-home-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    min-height: 138px;
    padding: 12px;
}

.rr-home-step-rail {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.rr-home-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--rr-home-subtle);
    color: var(--rr-home-text-secondary);
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}

.rr-home-step-connector {
    flex: 1 1 auto;
    height: 2px;
    background: var(--rr-home-border);
}

.rr-home-step-complete .rr-home-step-number {
    background: var(--rr-home-success-soft);
    color: var(--rr-home-success-text);
}

.rr-home-step-complete .rr-home-step-connector {
    background: var(--rr-home-success);
}

.rr-home-step-active .rr-home-step-number {
    background: var(--rr-home-primary);
    color: #fff;
}

.rr-home-step-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.rr-home-step-state {
    color: var(--rr-home-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.03em;
}

.rr-home-step-complete .rr-home-step-state {
    color: var(--rr-home-success-text);
}

.rr-home-step-active .rr-home-step-state {
    color: var(--rr-home-primary);
}

.rr-home-step h3 {
    margin: 0;
    color: var(--rr-home-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.rr-home-step p {
    margin: 0;
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-paths-section {
    background: var(--rr-home-subtle);
}

.rr-home-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    width: 100%;
    max-width: 1152px;
    margin: 48px auto 0;
}

.rr-home-path-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    min-height: 340px;
    padding: 24px;
    border: 1px solid var(--rr-home-border);
    border-radius: var(--rr-home-radius-lg);
    background: var(--rr-home-canvas);
}

.rr-home-path-card-recommended {
    border-color: var(--rr-home-primary-light);
    background: var(--rr-home-soft);
}

.rr-home-path-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rr-home-path-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.rr-home-path-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rr-home-subtle);
    color: var(--rr-home-primary);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.rr-home-path-card-recommended .rr-home-path-badge {
    background: var(--rr-home-primary);
    color: #fff;
}

.rr-home-path-card h3 {
    margin: 0;
    color: var(--rr-home-text);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.rr-home-path-card p {
    margin: 0 0 auto;
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-path-card-recommended p {
    color: #52637a;
}

.rr-home-path-card .rr-home-button {
    align-self: flex-start;
}

.rr-home-safety-section {
    background: var(--rr-home-canvas);
}

.rr-home-safety-section > .rr-home-container {
    padding-top: 56px;
    padding-bottom: 56px;
}

.rr-home-safety {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--rr-home-warning);
    border-radius: var(--rr-home-radius-md);
    background: var(--rr-home-warning-soft);
}

.rr-home-safety-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--rr-home-radius-md);
    background: var(--rr-home-canvas);
}

.rr-home-safety-icon img {
    width: 20px;
    height: 20px;
}

.rr-home-safety h2 {
    margin: 0 0 6px;
    color: var(--rr-home-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
}

.rr-home-safety p {
    margin: 0;
    color: var(--rr-home-text-secondary);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-final-cta {
    background: var(--rr-home-dark);
}

.rr-home-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 72px;
    padding-bottom: 72px;
    text-align: center;
}

.rr-home-final-cta h2 {
    width: min(100%, 820px);
    color: #fff;
}

.rr-home-final-cta p {
    width: min(100%, 760px);
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 26px;
}

.rr-home-footer {
    padding: 0;
    border-top: 0;
    background: var(--rr-home-canvas);
}

.rr-home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.rr-home-footer strong {
    color: var(--rr-home-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
}

.rr-home-footer p {
    margin: 0 0 0 auto;
    color: var(--rr-home-text-muted);
    font-size: 14px;
    line-height: 22px;
}

.rr-home-footer .footer-icp {
    margin: 0;
    color: var(--rr-home-text-muted);
    font-size: 12px;
}

@media (max-width: 1080px) {
    .rr-home-nav-links {
        gap: 16px;
    }

    .rr-home-header-cta {
        padding-right: 16px;
        padding-left: 16px;
    }

    .rr-home-status-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 40px;
    }

    .rr-home-path-grid {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .rr-home-nav-links,
    .rr-home-header-cta {
        display: none;
    }

    .rr-home-menu-button {
        display: inline-flex;
    }

    .rr-home-mobile-menu {
        position: absolute;
        top: 72px;
        right: 16px;
        left: 16px;
        z-index: 1000;
        flex-direction: column;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--rr-home-border);
        border-radius: var(--rr-home-radius-md);
        background: var(--rr-home-canvas);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    }

    .rr-home-mobile-menu.active {
        display: flex;
    }

    .rr-home-mobile-menu a {
        padding: 10px 12px;
        border-radius: var(--rr-home-radius-sm);
        color: var(--rr-home-text-secondary);
        font-size: 14px;
        font-weight: 500;
    }

    .rr-home-mobile-menu a:hover {
        background: var(--rr-home-subtle);
        color: var(--rr-home-primary);
    }

    .rr-home-mobile-menu .rr-home-mobile-app-link {
        min-height: 44px;
        margin-top: 4px;
        color: #fff;
    }

    .rr-home-status-layout {
        grid-template-columns: minmax(0, 568px);
        gap: 40px;
    }

    .rr-home-section-copy {
        text-align: center;
    }

    .rr-home-step-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rr-home-path-grid {
        grid-template-columns: 1fr;
        max-width: 568px;
    }
}

@media (max-width: 640px) {
    .rr-home-page .rr-home-container,
    .rr-home-nav-shell {
        padding-right: 16px;
        padding-left: 16px;
    }

    .rr-home-nav {
        min-height: 72px;
    }

    .rr-home-brand {
        font-size: 15px;
    }

    .rr-home-header .lang-switcher-btn {
        min-height: 36px;
        padding: 8px 10px;
    }

    .rr-home-header .lang-switcher-btn svg:first-child {
        display: none;
    }

    .rr-home-hero-inner {
        align-items: flex-start;
        gap: 24px;
        padding-top: 48px;
        padding-bottom: 56px;
        text-align: left;
    }

    .rr-home-hero-copy {
        align-items: flex-start;
        gap: 14px;
    }

    .rr-home-page .rr-home-hero h1 {
        font-size: clamp(36px, 10vw, 40px);
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .rr-home-hero-body {
        font-size: 18px;
        line-height: 28px;
    }

    .rr-home-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .rr-home-actions .rr-home-button,
    .rr-home-final-inner .rr-home-button {
        width: 100%;
    }

    .rr-home-scope-note {
        text-align: left;
    }

    .rr-home-status-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .rr-home-section-copy,
    .rr-home-section-heading {
        align-items: flex-start;
        text-align: left;
    }

    .rr-home-section-copy h2,
    .rr-home-section-heading h2,
    .rr-home-final-cta h2 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }

    .rr-home-status-card {
        padding: 16px;
    }

    .rr-home-workflow-section > .rr-home-container,
    .rr-home-paths-section > .rr-home-container {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .rr-home-step-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 32px;
    }

    .rr-home-step {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 16px;
        min-height: 96px;
        padding: 12px;
    }

    .rr-home-step-rail {
        flex-direction: column;
        gap: 8px;
        width: 36px;
        height: 72px;
    }

    .rr-home-step-connector {
        flex: 0 0 28px;
        width: 2px;
        height: 28px;
    }

    .rr-home-path-grid {
        margin-top: 32px;
    }

    .rr-home-path-card {
        min-height: 340px;
    }

    .rr-home-safety-section > .rr-home-container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .rr-home-safety {
        min-height: 148px;
        padding: 16px 24px;
    }

    .rr-home-final-inner {
        align-items: flex-start;
        padding-top: 56px;
        padding-bottom: 56px;
        text-align: left;
    }

    .rr-home-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .rr-home-footer p {
        margin-left: 0;
    }
}

@media (max-width: 350px) {
    .rr-home-brand {
        gap: 8px;
        font-size: 14px;
    }

    .rr-home-brand-icon {
        width: 34px;
        height: 34px;
    }

    .rr-home-brand-icon img {
        width: 34px;
        height: 34px;
    }

    .rr-home-nav-actions {
        gap: 8px;
    }

    .rr-home-header .lang-switcher-btn {
        padding-right: 8px;
        padding-left: 8px;
    }

    .rr-home-status-row {
        gap: 8px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .rr-home-status-label {
        padding-right: 8px;
        padding-left: 8px;
    }

    .rr-home-path-card {
        padding: 20px;
    }

    .rr-home-path-top {
        gap: 8px;
    }
}
