/* =========================================================
   FRAYORA — NOVEMBER 2026 RESTRUCTURE: SITE-WIDE ADDITIONS
   Small, scoped rules for the new navigation, footer and form states.
   Everything uses the original Frayora colours and type.
========================================================= */

/* ---------- Desktop header: five links + Join Early Access ---------- */
@media screen and (min-width: 1101px) and (max-width: 1260px) {
    .site-header .site-nav { gap: 22px !important; }
    .site-header .site-nav > a { font-size: 14px !important; }
    .site-header .header-cta { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ---------- Tablet / mobile menu: secondary links ---------- */
.fr-mobile-menu-more {
    margin: 18px 0 0;
    padding: 16px 0 0;
    list-style: none;
    border-top: 1px solid rgba(71, 73, 61, .14);
}
.fr-mobile-menu-more li { margin: 0; padding: 0; }
.fr-mobile-menu-more a {
    display: block;
    padding: 9px 0;
    color: #5B5F57 !important;
    font: 500 15px/1.35 "Manrope", sans-serif;
    letter-spacing: -.01em;
    text-decoration: none !important;
}
.fr-mobile-menu-more a:hover,
.fr-mobile-menu-more a:focus-visible,
.fr-mobile-menu-more a[aria-current="page"] { color: #A94E31 !important; }

.fr-mobile-menu-footer { display: flex !important; flex-wrap: wrap; gap: 10px; }
.fr-mobile-contact-button.fr-mobile-contact-button--quiet {
    background: transparent !important;
    color: #A9502F !important;
    border: 1px solid rgba(201, 103, 67, .55) !important;
    box-shadow: none !important;
}
.fr-mobile-contact-button.fr-mobile-contact-button--quiet:hover { background: rgba(201, 103, 67, .08) !important; }

/* ---------- Footer: "Services" sub-heading inside the Products column ---------- */
.site-footer__column h3.site-footer__subhead { margin-top: 26px !important; }

/* ---------- Homepage: links inside the Workspace feature list ---------- */
.home-hub__features a {
    color: #A94E31 !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-decoration-color: rgba(169, 78, 49, .35) !important;
    text-underline-offset: 3px;
}
.home-hub__features a:hover { text-decoration-color: #A94E31 !important; }
.home-faq__a a {
    color: #A94E31 !important;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* ---------- About: second button in the final call to action ---------- */
html body main.about-us-page .about-final-cta__button.about-final-cta__button.about-final-cta__button--secondary {
    background-color: #FFF8F0 !important;
    background-image: none !important;
    color: #A9502F !important;
    border: 1px solid rgba(201, 103, 67, .45) !important;
    box-shadow: 0 10px 22px rgba(120, 70, 40, .10) !important;
}
html body main.about-us-page .about-final-cta__button.about-final-cta__button.about-final-cta__button--secondary span,
html body main.about-us-page .about-final-cta__button.about-final-cta__button.about-final-cta__button--secondary .about-final-cta__arrow { color: #A9502F !important; }
html body main.about-us-page .about-final-cta__button.about-final-cta__button.about-final-cta__button--secondary::before { display: none !important; }
html body main.about-us-page .about-final-cta__button.about-final-cta__button.about-final-cta__button--secondary:hover {
    background-color: #FBEDE3 !important;
    border-color: #C96743 !important;
}
.about-final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Early Access: promise line and inline errors ---------- */
.frayora-early-page .ea-promise {
    margin: 4px 0 14px;
    color: #3F5139;
    font: 600 13.5px/1.5 "Inter", sans-serif;
    text-align: center;
}
.frayora-early-page .ea-error {
    margin: 7px 0 0;
    color: #A63C22;
    font: 500 13px/1.45 "Inter", sans-serif;
}
.frayora-early-page [aria-invalid="true"] {
    border-color: #C2502E !important;
    box-shadow: 0 0 0 3px rgba(194, 80, 46, .14) !important;
}
.frayora-early-page .ea-check + .ea-error { margin: -2px 0 12px 30px; }

/* ---------- Homepage Workspace section: Virtual Data Room card beside the Employee Hub demo ---------- */
html body .home-hub__rooms {
    position: absolute;
    z-index: 3;
    left: -18px;
    bottom: -34px;
    display: grid;
    gap: 7px;
    width: 268px;
    padding: 16px;
    border-radius: 22px 7px 22px 7px;
    background: rgba(255, 250, 243, .97);
    border: 1px solid rgba(86, 100, 73, .14);
    box-shadow: 0 24px 46px rgba(31, 44, 29, .22);
}
html body .home-hub__rooms-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
html body .home-hub__rooms-head b { color: #22251F; font: 600 14px/1.2 "Manrope", sans-serif; letter-spacing: -.01em; }
html body .home-hub__rooms-head em { padding: 4px 8px; border-radius: 99px; background: rgba(201, 103, 67, .13); color: #A94E31; font: 600 9.5px/1.2 "Inter", sans-serif; font-style: normal; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
html body .home-hub__room { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: #FFFFFF; border: 1px solid #F0E4D8; color: #2E322B; font: 600 13px/1.2 "Manrope", sans-serif; }
html body .home-hub__room i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px 3px 9px 3px; background: rgba(83, 102, 75, .13); color: #3F5139; }
html body .home-hub__room:first-of-type i { background: rgba(38, 51, 44, .9); color: #EBC7B1; }
html body .home-hub__room i svg { width: 15px; height: 15px; }
@media (min-width: 1220px) {
    html body .home-hub__chip--live { left: auto !important; right: -6px !important; top: 14px !important; bottom: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
    html body .home-hub__rooms { animation: hhFloat 6s ease-in-out -1.5s infinite; }
}
@media (max-width: 1219px) {
    html body .home-hub__rooms { position: relative; left: auto; bottom: auto; width: auto; max-width: 340px; margin: 18px 0 0 auto; }
}
@media (max-width: 699px) {
    html body .home-hub__rooms { max-width: none; margin: 16px 0 0; }
}
@media (max-width: 699px) { html body .home-hub__chip--people { display: none !important; } }

/* =========================================================
   SHARED PAGE-TO-FOOTER TRANSITION (matches Virtual Data Room)
   The site-footer clip-path draws Frayora's centered shallow curve
   and olive-to-sand hairline. Keep the overlapping transition
   transparent so the final section's actual background shows
   through, without a mismatched beige band on different pages.
   The overlap matches --fr-edge in the existing footer styles.
========================================================= */
html body .fr-footer-transition {
    position: relative;
    z-index: 20;
    display: block;
    width: 100%;
    height: var(--fr-edge, 64px);
    margin-top: calc(-1 * var(--fr-edge, 64px));
    background: transparent;
    pointer-events: none;
}

/* Render the clipped footer above its underlay, including on curved
   sections that establish their own stacking contexts. */
html body .site-footer { z-index: 21; }
