.menu-title {
    color: #ffb454 !important;
}

.content p,
.content li {
    line-height: 1.6;
}

.ferris-img {
    float: left;
    margin-right: 15px;
    width: 20%;
}

@media (max-width: 768px) {
    .ferris-img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
        width: 80%;
    }
}

/* Hero Row */
.hero-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0 2rem 0;
}

.ferris-img-hero {
    width: 140px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .ferris-img-hero {
        width: 120px;
    }
}

/* SSH Demo Terminal */
.ssh-demo-container {
    text-align: center;
}

.ssh-demo-label {
    margin-bottom: 1rem;
}

.terminal-shell {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 50px rgba(255, 180, 84, 0.1);
    cursor: default;
}

.terminal-prompt {
    color: #98c379;
    font-weight: 700;
    user-select: none;
}

.terminal-command {
    color: #ffb454;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.terminal-copyable {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.terminal-copyable:hover,
.terminal-copyable:focus-visible {
    border-color: rgba(255, 180, 84, 0.5);
    outline: none;
}

.copy-tooltip {
    position: relative;
}

.copy-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 0.6rem);
    left: 50%;
    transform: translate(-50%, 4px);
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    background: #f5f5f5;
    color: #111;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.copy-tooltip.copied::after {
    content: attr(data-tooltip-copied);
}

.copy-tooltip.copied::after,
.copy-tooltip[data-tooltip]:hover::after,
.copy-tooltip[data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.agent-pill {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    background: #2a1d0f;
    border: 1px solid rgba(255, 180, 84, 0.55);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(255, 180, 84, 0.08);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.agent-pill:hover,
.agent-pill:focus-visible {
    background: #36250f;
    border-color: #ffb454;
    box-shadow: 0 0 32px rgba(255, 180, 84, 0.2);
    outline: none;
}

.agent-pill-copy {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    color: #ffb454;
}

.agent-logos {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.agent-logo {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    fill: currentColor;
}

.agent-logo-claude {
    fill: #d97757;
}

.agent-pill-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

@media (max-width: 768px) {
    .ssh-demo-container {
        max-width: 100%;
        min-width: 0;
    }

    .terminal-shell {
        padding: 0.75rem 1rem;
    }

    .terminal-copyable {
        max-width: 100%;
    }

    .agent-pill {
        font-size: 1.15rem;
        padding: 0.65rem 1.25rem;
    }

    .terminal-copyable .terminal-command {
        overflow-wrap: anywhere;
        font-size: clamp(0.7rem, 3.1vw, 1.1rem);
    }
}

/* Subtitle annotation under the H1 - keyword-rich but visually small */
.content h2.hero-subtitle {
    margin: -0.25rem 0 1.5rem 0;
    padding: 0;
    border: none;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--fg, #c8c8c8);
    opacity: 0.9;
}

.content h2.hero-subtitle b,
.content h2.hero-subtitle strong {
    font-weight: 600;
}

.hero-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    flex-wrap: wrap;
}

.hero-badges img {
    height: 22px;
}

/* Trusted By */
.trusted-by {
    text-align: center;
    margin: 2rem 0;
}

.trusted-by-tagline {
    color: var(--sidebar-fg);
    margin-bottom: 1rem;
    text-align: left;
}

.trusted-by-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.trusted-by-project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.5rem 1rem;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #ffb454;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.trusted-by-project,
.trusted-by-project:hover,
.trusted-by-project:active,
.trusted-by-project:visited,
.trusted-by-project:link {
    text-decoration: none !important;
}

.trusted-by-project:hover {
    border-color: rgba(255, 180, 84, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 180, 84, 0.1);
}

.trusted-by-name {
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #ffb454;
    -webkit-text-fill-color: #ffb454;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trusted-by-project:hover .trusted-by-name {
    text-decoration: none;
}

.trusted-by-project img {
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trusted-by-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trusted-by-project {
        padding: 0.3rem 0.6rem;
    }

    .trusted-by-name {
        font-size: 0.85em;
    }
}