/*
 * Styling for the parts site.js restores: FAQ answer panels, the nav dropdown
 * and form feedback. Everything else keeps Framer's own CSS untouched.
 *
 * Values are taken from the surrounding Framer styles so the restored pieces
 * read as part of the original design rather than bolted on.
 */

/* --- FAQ answers ---------------------------------------------------------- */

.faq-answer {
    padding: 0 24px 20px;
    font-family: 'Inter Variable', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.65);
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    margin: 0;
}

/* The trigger is a real control once JS is in play. */
[data-framer-name='Top'][role='button'] {
    cursor: pointer;
    user-select: none;
}

[data-framer-name='Top'][role='button']:focus-visible {
    outline: 2px solid rgb(145, 94, 255);
    outline-offset: 2px;
    border-radius: 10px;
}

/* --- Nav dropdown --------------------------------------------------------- */
/* Matches the live site's panel: dark card, hairline border, stacked links. */

.nav-dropdown {
    position: relative;
}

/*
 * Fixed, not absolute: both the Trigger element and <nav> are overflow:hidden,
 * so an absolutely positioned panel gets clipped. Neither has a transform, so a
 * fixed panel escapes the clip; site.js positions it from the trigger's box.
 */
.nav-dropdown-panel {
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 148px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgb(18, 18, 20);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.nav-dropdown-panel[hidden] {
    display: none;
}

/*
 * Invisible bridge over the gap between the trigger and the panel. Without it
 * the pointer crosses bare page on its way down to the menu, which reads as
 * "left the menu" and closes it before an item can be clicked.
 */
.nav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-dropdown-item {
    font-family: 'Inter Variable', 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-dropdown-item:hover {
    color: rgb(255, 255, 255);
}

/* --- Form feedback -------------------------------------------------------- */

.form-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Inter Variable', 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgb(255, 255, 255);
    background: rgba(145, 94, 255, 0.15);
    border: 1px solid rgba(145, 94, 255, 0.35);
}

.form-message.is-error {
    background: rgba(255, 86, 86, 0.12);
    border-color: rgba(255, 86, 86, 0.35);
}
