/*
 * The marketing header (resources/views/marketing/nav): tokens, links, tool rows and the mobile sheet.
 * Sized in px because the marketing layout sets html { font-size: 1.15rem }.
 */
.nvo {
    --nvo-ink: #191b22;
    --nvo-ink-2: #2d323c;
    --nvo-muted: #626777;
    --nvo-faint: #8a909c;
    --nvo-line: #e6e9ee;
    --nvo-edge: #dbe1e6;
    --nvo-soft: #eef1f4;
    --nvo-ground: #f6f7f8;
    --nvo-green: #286c4c;
    --nvo-focus: #5b7fa6;
    --nvo-ease: cubic-bezier(.2, .7, .2, 1);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 15px;
    letter-spacing: -.012em;
    color: var(--nvo-ink);
}
:where(.nvo) *, :where(.nvo) *::before, :where(.nvo) *::after { box-sizing: border-box; }
:where(.nvo) a { color: inherit; text-decoration: none; }
:where(.nvo) button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.nvo :focus-visible { outline: 2px solid var(--nvo-focus); outline-offset: 2px; border-radius: 8px; }
:where(.nvo) img { display: block; max-width: none; }

/* The sticky bar */
.nvo-bar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--nvo-edge); transition: box-shadow .2s var(--nvo-ease), transform .3s var(--nvo-ease), opacity .3s var(--nvo-ease); }
.nvo-bar.is-scrolled { box-shadow: 0 10px 28px -22px #1c1f2a59; }
.nvo-bar.nvo-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nvo-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; max-width: 1280px; height: 64px; margin: 0 auto; padding: 0 24px; }
.nvo-logo { flex: none; display: block; padding: 6px 2px; }
.nvo-logo img { width: auto; height: 26px; }

.nvo-links { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nvo-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--nvo-ink-2); white-space: nowrap; transition: background-color .15s, color .15s; }
.nvo-link:hover, .nvo-link[aria-expanded="true"] { background: var(--nvo-soft); color: var(--nvo-ink); }
.nvo-link[aria-current="page"] { color: var(--nvo-ink); background: var(--nvo-soft); }
.nvo-chev { width: 14px; height: 14px; color: var(--nvo-faint); transition: transform .2s var(--nvo-ease); }
.nvo-link[aria-expanded="true"] .nvo-chev { transform: rotate(180deg); }

.nvo-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nvo-signin { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px; font-weight: 500; color: var(--nvo-ink-2); white-space: nowrap; }
.nvo-signin:hover { background: var(--nvo-soft); color: var(--nvo-ink); }
.nvo-cta { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 8px; background: var(--nvo-ink); color: #fff; font-weight: 600; white-space: nowrap; transition: background-color .15s; }
.nvo-cta:hover { background: #000; }
.nvo-quiet { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--nvo-edge); background: #fff; font-weight: 500; color: var(--nvo-ink); white-space: nowrap; transition: border-color .15s, background-color .15s; }
.nvo-quiet:hover, .nvo-quiet[aria-expanded="true"] { border-color: #c3cad3; background: var(--nvo-ground); }
.nvo-new { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; color: var(--nvo-muted); white-space: nowrap; }
.nvo-new:hover { color: var(--nvo-ink); background: var(--nvo-soft); }
.nvo-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--nvo-green); box-shadow: 0 0 0 3px #286c4c1f; }
.nvo-menu-btn { display: none; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 10px; color: var(--nvo-ink); }
.nvo-menu-btn:hover { background: var(--nvo-soft); }
.nvo-menu-btn svg { width: 24px; height: 24px; }

/* A small dropdown (Company, Resources) */
.nvo-drop { position: relative; }
.nvo-pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 288px; padding: 6px; border-radius: 14px; border: 1px solid var(--nvo-edge); background: #fff; box-shadow: 0 1px 2px #1c1f2a0f, 0 22px 44px -24px #1c1f2a59; }
.nvo-pop a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; }
.nvo-pop a:hover { background: var(--nvo-ground); }
.nvo-pop strong { font-size: 14.5px; font-weight: 600; color: var(--nvo-ink); }
.nvo-pop small { font-size: 13px; line-height: 1.35; color: var(--nvo-muted); }

/* One neutral icon tile, used for every tool */
.nvo-tile { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--nvo-edge); box-shadow: 0 1px 1px #1c1f2a0a; }
.nvo-tile img { width: 18px; height: 18px; }
.nvo-tile-s { width: 28px; height: 28px; border-radius: 8px; }
.nvo-tile-s img { width: 15px; height: 15px; }

/* The mobile sheet */
.nvo-sheet { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.nvo-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px 0 20px; background: #fffffff2; backdrop-filter: blur(8px); border-bottom: 1px solid var(--nvo-line); }
.nvo-sheet-head .nvo-menu-btn { display: grid; }
.nvo-sheet-body { display: grid; gap: 22px; padding: 20px 20px 28px; }
.nvo-sheet-links { display: grid; gap: 2px; }
.nvo-sheet-links a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; margin: 0 -12px; border-radius: 10px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.nvo-sheet-links a:hover { background: var(--nvo-ground); }
.nvo-sheet-minor { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 4px; }
.nvo-sheet-minor a { padding: 8px 0; font-size: 16px; color: var(--nvo-muted); }
.nvo-sheet-foot { position: sticky; bottom: 0; display: grid; gap: 10px; margin-top: auto; padding: 16px 20px max(16px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--nvo-line); }
.nvo-sheet-foot .nvo-cta, .nvo-sheet-foot .nvo-quiet { height: 50px; font-size: 16px; }
.nvo-sheet-foot .nvo-quiet { justify-content: center; }
.nvo-sheet-h { margin-bottom: 6px; font-size: 13.5px; font-weight: 500; color: var(--nvo-faint); }

/* Tool rows (menus, search results, mobile lists) */
.nvo-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px 10px; border-radius: 10px; }
.nvo-row:hover, .nvo-row.is-active { background: var(--nvo-ground); }
.nvo-row-text { display: grid; gap: 1px; min-width: 0; }
.nvo-row-text strong { overflow: hidden; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; color: var(--nvo-ink); }
.nvo-row-text small { overflow: hidden; font-size: 13px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; color: var(--nvo-muted); }

/* Raqoon still walks along the bar on the homepage */
.nvo-bar .marketing-mascot { z-index: 0; }

@media (max-width: 1023px) {
    .nvo-links, .nvo-signin, .nvo-new { display: none; }
    .nvo-menu-btn { display: grid; }
    .nvo-inner { gap: 12px; height: 60px; padding: 0 16px; }
    .nvo-logo img { height: 24px; }
    .nvo-actions .nvo-cta { height: 38px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 359px) {
    .nvo-actions .nvo-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .nvo *, .nvo *::before, .nvo *::after, .nvo { transition-duration: 0s !important; animation-duration: 0s !important; }
}
